Fix ci failure on unused cfg deps

This commit is contained in:
Jonathan Kelley committed 2024-01-08 14:37:05 -08:00
1 parent bc96a3e4fb
commit 6f15e0e924
3 files changed
+9 -8

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
use std::{any::Any, collections::HashMap};
use std::any::Any;
pub trait HasFileData: std::any::Any {
fn files(&self) -> Option<std::sync::Arc<dyn FileEngine>> {
@@ -10,7 +10,7 @@ pub trait HasFileData: std::any::Any {
/// A file engine that serializes files to bytes
#[derive(serde::Serialize, serde::Deserialize, Debug, PartialEq, Clone)]
pub struct SerializedFileEngine {
pub files: HashMap<String, Vec<u8>>,
pub files: std::collections::HashMap<String, Vec<u8>>,
}
#[cfg(feature = "serialize")]