Skip to content

Commit

Permalink
Update cap_std to 3.0
Browse files Browse the repository at this point in the history
This is a prerequisite for fixing a bug in cap-std
  • Loading branch information
asomers authored and hannesdejager committed Aug 25, 2024
1 parent e09a621 commit 3b6a1d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/unftp-sbe-fs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "../../" }
Expand Down
2 changes: 1 addition & 1 deletion crates/unftp-sbe-fs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3b6a1d2

Please sign in to comment.