Skip to content

Commit

Permalink
Bump Rust version to 1.74 (#459)
Browse files Browse the repository at this point in the history
Also runs `cargo upgrade` to bump trivially bumpable deps.
  • Loading branch information
aaronmondal committed Dec 8, 2023
1 parent 5acfa25 commit 5412d7c
Show file tree
Hide file tree
Showing 12 changed files with 150 additions and 195 deletions.
172 changes: 68 additions & 104 deletions Cargo.Bazel.lock

Large diffs are not rendered by default.

53 changes: 22 additions & 31 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions Cargo.toml
Expand Up @@ -28,17 +28,17 @@ native-link-store = { path = "native-link-store" }
native-link-util = { path = "native-link-util" }
native-link-worker = { path = "native-link-worker" }

async-lock = "2.7.0"
axum = "0.6.18"
clap = { version = "4.3.11", features = ["derive"] }
futures = "0.3.28"
async-lock = "2.8.0"
axum = "0.6.20"
clap = { version = "4.4.11", features = ["derive"] }
futures = "0.3.29"
hyper = { version = "0.14.27" }
parking_lot = "0.12.1"
prometheus-client = "0.21.2"
rustls-pemfile = "1.0.3"
rustls-pemfile = "1.0.4"
scopeguard = "1.2.0"
serde_json5 = "0.1.0"
tokio = { version = "1.29.1", features = ["rt-multi-thread", "signal"] }
tokio = { version = "1.34.0", features = ["rt-multi-thread", "signal"] }
tokio-rustls = "0.24.1"
tonic = { version = "0.9.2", features = ["gzip"] }
tower = "0.4.13"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -101,7 +101,7 @@ bazel run --config=windows -c opt cas -- ./native-link-config/examples/basic_cas
**Build requirements:**
* Cargo 1.73.0+
* Cargo 1.74.0+
* A recent C++ toolchain with LLD as linker
> [!TIP]
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE.bazel
Expand Up @@ -30,7 +30,7 @@ rules_rust_dependencies()
rust_register_toolchains(
edition = "2021",
versions = [
"1.73.0",
"1.74.0",
"nightly/2023-12-07",
],
)
Expand Down
2 changes: 1 addition & 1 deletion error/Cargo.toml
Expand Up @@ -13,5 +13,5 @@ proto = { path = "../proto" }
hex = "0.4.3"
prost = "0.11.9"
prost-types = "0.11.9"
tokio = { version = "1.29.1" }
tokio = { version = "1.34.0" }
tonic = { version = "0.9.2", features = ["gzip"] }
2 changes: 1 addition & 1 deletion native-link-config/Cargo.toml
Expand Up @@ -4,5 +4,5 @@ version = "0.0.0"
edition = "2021"

[dependencies]
serde = { version = "1.0.167", features = ["derive"] }
serde = { version = "1.0.193", features = ["derive"] }
shellexpand = "3.1.0"
10 changes: 5 additions & 5 deletions native-link-scheduler/Cargo.toml
Expand Up @@ -13,17 +13,17 @@ proto = { path = "../proto" }
# files somewhere else.
native-link-store = { path = "../native-link-store" }

async-trait = "0.1.71"
blake3 = "1.4.1"
async-trait = "0.1.74"
blake3 = "1.5.0"
prost = "0.11.9"
uuid = { version = "1.4.0", features = ["v4"] }
futures = "0.3.28"
uuid = { version = "1.6.1", features = ["v4"] }
futures = "0.3.29"
hashbrown = "0.14"
lru = "0.10.1"
parking_lot = "0.12.1"
rand = "0.8.5"
scopeguard = "1.2.0"
tokio = { version = "1.29.1", features = ["sync", "rt", "parking_lot"] }
tokio = { version = "1.34.0", features = ["sync", "rt", "parking_lot"] }
tokio-stream = { version = "0.1.14", features = ["sync"] }
tonic = { version = "0.9.2", features = ["gzip"] }
tracing = "0.1.40"
Expand Down
10 changes: 5 additions & 5 deletions native-link-service/Cargo.toml
Expand Up @@ -11,17 +11,17 @@ native-link-util = { path = "../native-link-util" }
native-link-store = { path = "../native-link-store" }
native-link-scheduler = { path = "../native-link-scheduler" }

bytes = "1.4.0"
futures = "0.3.28"
log = "0.4.19"
bytes = "1.5.0"
futures = "0.3.29"
log = "0.4.20"
parking_lot = "0.12.1"
prost = "0.11.9"
rand = "0.8.5"
tokio = { version = "1.29.1", features = ["sync", "rt"] }
tokio = { version = "1.34.0", features = ["sync", "rt"] }
tokio-stream = { version = "0.1.14", features = ["sync"] }
tonic = { version = "0.9.2", features = ["gzip"] }
tracing = "0.1.40"
uuid = { version = "1.4.0", features = ["v4"] }
uuid = { version = "1.6.1", features = ["v4"] }

[dev-dependencies]
hyper = "0.14.27"
Expand Down
34 changes: 17 additions & 17 deletions native-link-store/Cargo.toml
Expand Up @@ -9,39 +9,39 @@ native-link-config = { path = "../native-link-config" }
native-link-util = { path = "../native-link-util" }
proto = { path = "../proto" }

async-lock = "2.7.0"
async-trait = "0.1.71"
aws-config = "0.57.1"
async-lock = "2.8.0"
async-trait = "0.1.74"
aws-config = "0.57.2"
aws-sdk-s3 = { version = "0.35.0" }
aws-smithy-runtime = { version = "0.57.1" }
aws-smithy-runtime = { version = "0.57.2" }
bincode = "1.3.3"
blake3 = "1.4.1"
byteorder = "1.4.3"
bytes = "1.4.0"
filetime = "0.2.21"
futures = "0.3.28"
blake3 = "1.5.0"
byteorder = "1.5.0"
bytes = "1.5.0"
filetime = "0.2.23"
futures = "0.3.29"
hex = "0.4.3"
hyper = { version = "0.14.27" }
hyper-rustls = { version = "0.24.2", features = ["webpki-tokio"] }
lz4_flex = "0.11.1"
parking_lot = "0.12.1"
prost = "0.11.9"
rand = "0.8.5"
serde = "1.0.167"
sha2 = "0.10.7"
serde = "1.0.193"
sha2 = "0.10.8"
shellexpand = "3.1.0"
tokio = { version = "1.29.1" }
tokio = { version = "1.34.0" }
tokio-stream = { version = "0.1.14", features = ["fs"] }
tokio-util = { version = "0.7.8" }
tokio-util = { version = "0.7.10" }
tonic = { version = "0.9.2", features = ["gzip"] }
tracing = "0.1.40"
uuid = { version = "1.4.0", features = ["v4"] }
uuid = { version = "1.6.1", features = ["v4"] }

[dev-dependencies]
pretty_assertions = "1.4.0"
memory-stats = "1.1.0"
once_cell = "1.18.0"
once_cell = "1.19.0"
http = "^0.2"
aws-smithy-types = "0.57.1"
aws-smithy-types = "0.57.2"
aws-sdk-s3 = { version = "0.35.0" }
aws-smithy-runtime = { version = "0.57.1", features = ["test-util"] }
aws-smithy-runtime = { version = "0.57.2", features = ["test-util"] }
22 changes: 11 additions & 11 deletions native-link-util/Cargo.toml
Expand Up @@ -8,24 +8,24 @@ native-link-config = { path = "../native-link-config" }
error = { path = "../error" }
proto = { path = "../proto" }

async-lock = "2.7.0"
async-trait = "0.1.71"
blake3 = "1.4.1"
bytes = "1.4.0"
async-lock = "2.8.0"
async-trait = "0.1.74"
blake3 = "1.5.0"
bytes = "1.5.0"
fixed-buffer = "0.2.3"
futures = "0.3.28"
futures = "0.3.29"
hex = "0.4.3"
log = "0.4.19"
log = "0.4.20"
lru = "0.10.1"
parking_lot = "0.12.1"
pin-project-lite = "0.2.10"
pin-project-lite = "0.2.13"
prometheus-client = "0.21.2"
prost = "0.11.9"
prost-types = "0.11.9"
serde = { version = "1.0.167", features = ["derive"] }
sha2 = "0.10.7"
tokio = { version = "1.29.1", features = [ "sync", "fs", "rt", "time", "io-util" ] }
tokio-util = { version = "0.7.8" }
serde = { version = "1.0.193", features = ["derive"] }
sha2 = "0.10.8"
tokio = { version = "1.34.0", features = [ "sync", "fs", "rt", "time", "io-util" ] }
tokio-util = { version = "0.7.10" }
tracing = "0.1.40"

[dev-dependencies]
Expand Down
24 changes: 12 additions & 12 deletions native-link-worker/Cargo.toml
Expand Up @@ -14,29 +14,29 @@ native-link-store = { path = "../native-link-store" }
# functionality out of the schedulers.
native-link-scheduler = { path = "../native-link-scheduler" }

async-lock = "2.7.0"
async-trait = "0.1.71"
bytes = "1.4.0"
filetime = "0.2.21"
formatx = "0.2.1"
futures = "0.3.28"
async-lock = "2.8.0"
async-trait = "0.1.74"
bytes = "1.5.0"
filetime = "0.2.23"
formatx = "0.2.2"
futures = "0.3.29"
hex = "0.4.3"
parking_lot = "0.12.1"
prost = "0.11.9"
relative-path = "1.8.0"
relative-path = "1.9.0"
scopeguard = "1.2.0"
serde = "1.0.167"
serde = "1.0.193"
serde_json5 = "0.1.0"
shlex = "1.1.0"
tokio = { version = "1.29.1", features = ["sync", "rt", "process"] }
shlex = "1.2.0"
tokio = { version = "1.34.0", features = ["sync", "rt", "process"] }
tokio-stream = { version = "0.1.14", features = ["fs"] }
tonic = { version = "0.9.2", features = ["gzip"] }
tracing = "0.1.40"
uuid = { version = "1.4.0", features = ["v4"] }
uuid = { version = "1.6.1", features = ["v4"] }

[dev-dependencies]
hyper = "0.14.27"
once_cell = "1.18.0"
once_cell = "1.19.0"
pretty_assertions = "1.4.0"
prost-types = "0.11.9"
rand = "0.8.5"

0 comments on commit 5412d7c

Please sign in to comment.