diff --git a/crates/unftp-sbe-fs/Cargo.toml b/crates/unftp-sbe-fs/Cargo.toml index c59271d5..ed775e5f 100644 --- a/crates/unftp-sbe-fs/Cargo.toml +++ b/crates/unftp-sbe-fs/Cargo.toml @@ -21,7 +21,7 @@ readme = "README.md" [dependencies] async-trait = "0.1.80" cfg-if = "1.0" -cap-std = "2.0" +cap-std = "3.0" futures = { version = "0.3.30", default-features = false, features = ["std"] } lazy_static = "1.4.0" libunftp = { version = "0.20.1", path = "../../" } diff --git a/crates/unftp-sbe-fs/src/lib.rs b/crates/unftp-sbe-fs/src/lib.rs index b879ab14..296a1e2c 100644 --- a/crates/unftp-sbe-fs/src/lib.rs +++ b/crates/unftp-sbe-fs/src/lib.rs @@ -40,7 +40,7 @@ use std::{ use tokio::io::AsyncSeekExt; #[cfg(unix)] -use std::os::unix::fs::{MetadataExt, PermissionsExt}; +use cap_std::fs::{MetadataExt, PermissionsExt}; /// The Filesystem struct is an implementation of the StorageBackend trait that keeps its files /// inside a specific root directory on local disk.