Skip to content

Commit

Permalink
Update rust dependencies (#1381)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmondal authored Oct 2, 2024
1 parent 8a90f09 commit b5a4d92
Show file tree
Hide file tree
Showing 21 changed files with 603 additions and 495 deletions.
405 changes: 212 additions & 193 deletions Cargo.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,29 +44,29 @@ nativelink-worker = { path = "nativelink-worker" }
nativelink-metric = { path = "nativelink-metric" }
nativelink-metric-collector = { path = "nativelink-metric-collector" }
async-lock = { version = "3.4.0", features = ["std"], default-features = false }
axum = { version = "0.7.5", default-features = false }
clap = { version = "4.5.9", features = ["derive"] }
axum = { version = "0.7.7", default-features = false }
clap = { version = "4.5.18", features = ["derive"] }
futures = { version = "0.3.30", default-features = false }
hyper = "1.4.1"
hyper-util = "0.1.6"
hyper-util = "0.1.9"
mimalloc = "0.1.43"
parking_lot = "0.12.3"
rustls-pemfile = { version = "2.1.2", default-features = false }
rustls-pemfile = { version = "2.2.0", default-features = false }
scopeguard = { version = "1.2.0", default-features = false }
serde_json5 = "0.1.0"
tokio = { version = "1.38.0", features = ["fs", "rt-multi-thread", "signal", "io-util"], default-features = false }
tokio = { version = "1.40.0", features = ["fs", "rt-multi-thread", "signal", "io-util"], default-features = false }
tokio-rustls = { version = "0.25.0", default-features = false, features = [
"ring",
] }
tonic = { version = "0.12.0", features = ["transport", "tls"], default-features = false }
tonic = { version = "0.12.3", features = ["transport", "tls"], default-features = false }
tower = { version = "0.4.13", default-features = false }
tracing = { version = "0.1.40", default-features = false }
opentelemetry_sdk = { version = "0.23.0", default-features = false }
tracing-subscriber = { version = "0.3.18", default-features = false }
opentelemetry = { version = "0.23.0", default-features = false }
prometheus = { version = "0.13.4", default-features = false }
opentelemetry-prometheus = "0.16.0"
serde_json = "1.0.120"
serde_json = "1.0.128"

[workspace.cargo-features-manager.keep]
async-lock = ["std"]
Expand Down
4 changes: 2 additions & 2 deletions nativelink-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ edition = "2021"
[dependencies]
byte-unit = { version = "5.1.4", default-features = false, features = ["byte"] }
humantime = "2.1.0"
serde = { version = "1.0.204", default-features = false }
serde = { version = "1.0.210", default-features = false }
serde_json5 = "0.1.0"
shellexpand = { version = "3.1.0", default-features = false, features = ["base-0"] }

[dev-dependencies]
pretty_assertions = { version = "1.4.0", features = ["std"] }
pretty_assertions = { version = "1.4.1", features = ["std"] }
12 changes: 6 additions & 6 deletions nativelink-error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ autobenches = false
[dependencies]
nativelink-proto = { path = "../nativelink-proto" }
nativelink-metric = { path = "../nativelink-metric" }
fred = { version = "9.0.3", default-features = false, features = [
fred = { version = "9.2.1", default-features = false, features = [
"enable-rustls-ring",
] }
hex = { version = "0.4.3", default-features = false }
prost = { version = "0.13.1", default-features = false }
prost-types = { version = "0.13.1", default-features = false }
serde = { version = "1.0.204", default-features = false }
tokio = { version = "1.38.0", features = ["fs", "rt-multi-thread", "signal", "io-util"], default-features = false }
tonic = { version = "0.12.0", features = ["transport", "tls"], default-features = false }
prost = { version = "0.13.3", default-features = false }
prost-types = { version = "0.13.3", default-features = false }
serde = { version = "1.0.210", default-features = false }
tokio = { version = "1.40.0", features = ["fs", "rt-multi-thread", "signal", "io-util"], default-features = false }
tonic = { version = "0.12.3", features = ["transport", "tls"], default-features = false }
4 changes: 2 additions & 2 deletions nativelink-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ proc-macro = true

[dependencies]
proc-macro2 = { version = "1.0.86", default-features = false }
quote = { version = "1.0.36", default-features = false }
syn = { version = "2.0.71", default-features = false }
quote = { version = "1.0.37", default-features = false }
syn = { version = "2.0.79", default-features = false }
6 changes: 3 additions & 3 deletions nativelink-metric-collector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ rust-version = "1.79.0"
[dependencies]
nativelink-metric = { path = "../nativelink-metric" }
opentelemetry = { version = "0.23.0", default-features = false }
parking_lot = "0.12.2"
serde = { version = "1.0.204", default-features = false }
parking_lot = "0.12.3"
serde = { version = "1.0.210", default-features = false }
tracing = { version = "0.1.40", default-features = false }
tracing-subscriber = { version = "0.3.18", default-features = false }

Expand All @@ -17,4 +17,4 @@ nativelink-error = { path = "../nativelink-error" }
opentelemetry_sdk = { version = "0.23.0", default-features = false }
opentelemetry-prometheus = "0.16.0"
prometheus = { version = "0.13.4", default-features = false }
serde_json = { version = "1.0.120", default-features = false }
serde_json = { version = "1.0.128", default-features = false }
4 changes: 2 additions & 2 deletions nativelink-metric/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ edition = "2021"
[dependencies]
nativelink-metric-macro-derive = { path = "nativelink-metric-macro-derive" }
async-lock = { version = "3.4.0", features = ["std"], default-features = false }
parking_lot = "0.12.2"
parking_lot = "0.12.3"
tracing = { version = "0.1.40", default-features = false }
tokio = { version = "1.38.0", features = ["fs", "rt-multi-thread", "signal", "io-util"], default-features = false }
tokio = { version = "1.40.0", features = ["fs", "rt-multi-thread", "signal", "io-util"], default-features = false }
6 changes: 3 additions & 3 deletions nativelink-metric/nativelink-metric-macro-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "nativelink-metric-macro-derive"
version = "0.4.0"
version = "0.5.3"
edition = "2021"

[lib]
proc-macro = true

[dependencies]
proc-macro2 = { version = "1.0.86", default-features = false }
quote = { version = "1.0.36", default-features = false }
syn = { version = "2.0.68", default-features = false }
quote = { version = "1.0.37", default-features = false }
syn = { version = "2.0.79", default-features = false }
10 changes: 5 additions & 5 deletions nativelink-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ path = "genproto/lib.rs"
doctest = false

[dependencies]
prost = { version = "0.13.1", default-features = false }
prost-types = { version = "0.13.1", default-features = false }
tonic = { version = "0.12.0", features = ["transport", "tls"], default-features = false }
prost = { version = "0.13.3", default-features = false }
prost-types = { version = "0.13.3", default-features = false }
tonic = { version = "0.12.3", features = ["transport", "tls"], default-features = false }

[dev-dependencies]
prost-build = { version = "0.13.1", default-features = false }
tonic-build = { version = "0.12.0", features = ["prost"], default-features = false }
prost-build = { version = "0.13.3", default-features = false }
tonic-build = { version = "0.12.3", features = ["prost"], default-features = false }
2 changes: 1 addition & 1 deletion nativelink-proto/gen_protos_tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ fn main() -> std::io::Result<()> {
config.bytes(["."]);
tonic_build::configure()
.out_dir(output_dir)
.compile_with_config(config, &paths, &["nativelink-proto"])?;
.compile_protos_with_config(config, &paths, &["nativelink-proto"])?;
Ok(())
}
Loading

0 comments on commit b5a4d92

Please sign in to comment.