diff --git a/api/src/config.rs b/api/src/config.rs index e47591bc192..2a0293adb53 100644 --- a/api/src/config.rs +++ b/api/src/config.rs @@ -1045,7 +1045,7 @@ impl BlobCacheEntry { if self.blob_type != BLOB_CACHE_TYPE_META_BLOB && self.blob_type != BLOB_CACHE_TYPE_DATA_BLOB { - warn!("invalid blob type {} for blob cache entry", self.blob_type); + log::warn!("invalid blob type {} for blob cache entry", self.blob_type); return false; } if let Some(config) = self.blob_config.as_ref() { diff --git a/rafs/src/lib.rs b/rafs/src/lib.rs index 8c5879fec87..923f8d2a095 100644 --- a/rafs/src/lib.rs +++ b/rafs/src/lib.rs @@ -48,6 +48,7 @@ use std::sync::Arc; use crate::metadata::{RafsInodeExt, RafsSuper}; +#[cfg(feature = "builder")] pub mod builder; pub mod fs; pub mod metadata; diff --git a/service/Cargo.toml b/service/Cargo.toml index 22bff2906c1..f91b0fd9939 100644 --- a/service/Cargo.toml +++ b/service/Cargo.toml @@ -25,7 +25,7 @@ time = { version = "0.3.14", features = ["serde-human-readable"] } tokio = { version = "1.24", features = ["macros"] } tokio-uring = "0.4" -nydus-api = { version = "0.2.2", path = "../api", features = ["handler"] } +nydus-api = { version = "0.2.2", path = "../api"} nydus-error = { version = "0.2.3", path = "../error" } nydus-rafs = { version = "0.2.2", path = "../rafs" } nydus-storage = { version = "0.6.2", path = "../storage" }