Skip to content

Commit

Permalink
build(rust): Bump fs4 from 0.8.4 to 0.9.1 (#17978)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stijn de Gooijer <stijndegooijer@gmail.com>
  • Loading branch information
dependabot[bot] and stinodego authored Aug 1, 2024
1 parent e75850a commit 1ad9b03
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/polars-io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ url = { workspace = true, optional = true }
zstd = { workspace = true, optional = true }

[target.'cfg(not(target_family = "wasm"))'.dependencies]
fs4 = { version = "0.8.3", features = ["sync"], optional = true }
fs4 = { version = "0.9", features = ["sync"], optional = true }
home = "0.5.4"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-io/src/file_cache/cache_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::sync::atomic::AtomicBool;
use std::sync::{Arc, RwLock, RwLockReadGuard, RwLockWriteGuard};
use std::time::Duration;

use fs4::FileExt;
use fs4::fs_std::FileExt;
use once_cell::sync::Lazy;

use super::utils::FILE_CACHE_PREFIX;
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-io/src/file_cache/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::path::{Path, PathBuf};
use std::sync::atomic::AtomicU64;
use std::sync::{Arc, Mutex};

use fs4::FileExt;
use fs4::fs_std::FileExt;
use polars_core::config;
use polars_error::{polars_bail, to_compute_err, PolarsError, PolarsResult};
use polars_utils::flatten;
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-io/src/file_cache/eviction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::sync::atomic::AtomicU64;
use std::sync::Arc;
use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH};

use fs4::FileExt;
use fs4::fs_std::FileExt;
use polars_error::{PolarsError, PolarsResult};

use super::cache_lock::{GlobalFileCacheGuardExclusive, GLOBAL_FILE_CACHE_LOCK};
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-io/src/file_cache/file_lock.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::fs::{File, OpenOptions};
use std::path::Path;

use fs4::FileExt;
use fs4::fs_std::FileExt;

/// Note: this creates the file if it does not exist when acquiring locks.
pub(super) struct FileLock<T: AsRef<Path>>(T);
Expand Down

0 comments on commit 1ad9b03

Please sign in to comment.