Skip to content

Commit

Permalink
Upgrade deps
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Saveau <[email protected]>
  • Loading branch information
SUPERCILEX committed Mar 3, 2023
1 parent ecdaa57 commit 7bf2d25
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 50 deletions.
91 changes: 51 additions & 40 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 comparisons/rm_og_crappy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ publish = false

[dependencies]
futures = "0.3.26"
tokio = { version = "1.25.0", features = ["rt"] }
tokio = { version = "1.26.0", features = ["rt"] }
6 changes: 3 additions & 3 deletions cpz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ categories = ["command-line-utilities", "development-tools", "filesystem"]
license.workspace = true

[dependencies]
clap2 = { version = "4.0.32", features = ["derive", "wrap_help"] }
clap2 = { version = "4.1.8", features = ["derive", "wrap_help"] }
error-stack = "0.3.1"
fuc_engine = { version = "1.1.3", path = "../fuc_engine" }
thiserror = "1.0.38"
Expand All @@ -22,10 +22,10 @@ memmap2 = "0.5.10"
rand = "0.8.5"
supercilex-tests = "0.3.0"
tempfile = "3.4.0"
trycmd = "0.14.12"
trycmd = "0.14.13"

[target.'cfg(unix)'.dev-dependencies]
rustix = { version = "0.36.8", features = ["fs"] }
rustix = { version = "0.37.0", features = ["fs"] }

[[bench]]
name = "copy_methods"
Expand Down
5 changes: 4 additions & 1 deletion cpz/benches/copy_methods.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// TODO
#![allow(clippy::significant_drop_tightening)]

use std::{
alloc,
alloc::Layout,
Expand Down Expand Up @@ -266,7 +269,7 @@ fn add_benches(group: &mut BenchmarkGroup<WallTime>, num_bytes: u64, direct_io:
.unwrap();
to.set_len(*num_bytes).unwrap();

let mut bytes_remaining = *num_bytes;
let mut bytes_remaining = usize::try_from(*num_bytes).unwrap();
while bytes_remaining > 0 {
bytes_remaining -=
copy_file_range(&from, None, &to, None, bytes_remaining).unwrap();
Expand Down
5 changes: 2 additions & 3 deletions fuc_engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ categories = ["filesystem"]
license.workspace = true

[dependencies]
crossbeam-channel = "0.5.6"
crossbeam-channel = "0.5.7"
thiserror = "1.0.38"
typed-builder = "0.12.0"

[target.'cfg(target_os = "linux")'.dependencies]
# TODO statx perf
rustix = { version = "0.37.0-alpha.0", features = ["fs"] }
rustix = { version = "0.37.0", features = ["fs", "linux_latest"] }

[target.'cfg(not(target_os = "linux"))'.dependencies]
rayon = "1.6.1"
Expand Down
4 changes: 2 additions & 2 deletions rmz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ categories = ["command-line-utilities", "development-tools", "filesystem"]
license.workspace = true

[dependencies]
clap2 = { version = "4.0.32", features = ["derive", "wrap_help"] }
clap2 = { version = "4.1.8", features = ["derive", "wrap_help"] }
error-stack = "0.3.1"
fuc_engine = { version = "1.1.3", path = "../fuc_engine" }
thiserror = "1.0.38"
Expand All @@ -19,7 +19,7 @@ thiserror = "1.0.38"
criterion = "0.4.0"
ftzz = "1.2.0"
tempfile = "3.4.0"
trycmd = "0.14.12"
trycmd = "0.14.13"
rm_rayon = { path = "../comparisons/rm_rayon" }
rm_og_crappy = { path = "../comparisons/rm_og_crappy" }
supercilex-tests = "0.3.0"
Expand Down
3 changes: 3 additions & 0 deletions rmz/benches/rmz.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// TODO
#![allow(clippy::significant_drop_tightening)]

use std::{fmt, fs, fs::File, num::NonZeroU64, path::Path, time::Duration};

use criterion::{
Expand Down

0 comments on commit 7bf2d25

Please sign in to comment.