Skip to content

Commit

Permalink
build(deps): ⬆️ bump tokio from 1.38.0 to 1.38.1, add it to workspace…
Browse files Browse the repository at this point in the history
… deps
  • Loading branch information
Jisu-Woniu committed Jul 17, 2024
1 parent 35c536a commit 4605409
Show file tree
Hide file tree
Showing 10 changed files with 150 additions and 128 deletions.
253 changes: 137 additions & 116 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ log = "0.4.22"
rsjudge-traits = { version = "0.1.0", path = "crates/rsjudge-traits" }
rsjudge-utils = { version = "0.1.0", path = "crates/rsjudge-utils" }
serde = { version = "1.0.204", features = ["derive"] }
tokio = "1.38.1"

[package]
name = "rsjudge"
Expand Down Expand Up @@ -158,7 +159,7 @@ log.workspace = true
mimalloc = { version = "0.1.43", optional = true }
serde.workspace = true
sysinfo = { version = "0.30.13", features = ["serde"] }
tokio = { version = "1.38.0", features = ["fs", "rt-multi-thread", "macros", "process"] }
tokio = { workspace = true, features = ["fs", "rt-multi-thread", "macros", "process"] }
toml = "0.8.14"

# Unused for now:
Expand Down
2 changes: 1 addition & 1 deletion crates/rsjudge-amqp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ rust-version.workspace = true
[dependencies]
amqprs = { version = "1.6.2", features = ["urispec"] }
thiserror = "1.0.62"
tokio = "1.38.0"
tokio = "1.38.1"

rsjudge-traits.workspace = true
serde = { workspace = true, optional = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/rsjudge-grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ futures = "0.3.30"
log.workspace = true
prost = "0.13.1"
prost-types = "0.13.1"
tokio = { version = "1.38.0", features = ["net"] }
tokio = { workspace = true, features = ["net"] }
tokio-stream = "0.1.15"
tonic = "0.12.0"

Expand All @@ -31,7 +31,7 @@ serde = { workspace = true, optional = true }
[build-dependencies]
anyhow = "1.0.86"
rsjudge-utils.workspace = true
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread", "process"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "process"] }
tonic-build = "0.12.0"

[features]
Expand Down
4 changes: 2 additions & 2 deletions crates/rsjudge-judger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ rust-version.workspace = true
async-trait = "0.1.81"
futures = "0.3.30"
rsjudge-utils.workspace = true
tokio = { version = "1.38.0", features = ["io-util", "fs", "macros"] }
tokio = { workspace = true, features = ["io-util", "fs", "macros"] }

[dev-dependencies]
criterion = { version = "0.5.1", features = ["async_tokio", "html_reports"] }
tempfile = "3.10.1"
tokio = { version = "1.38.0", features = ["rt-multi-thread", "full"] }
tokio = { workspace = true, features = ["rt-multi-thread", "full"] }
2 changes: 1 addition & 1 deletion crates/rsjudge-rest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ rust-version.workspace = true
axum = "0.7.5"
rsjudge-traits.workspace = true
serde.workspace = true
tokio = { version = "1.38.0", features = ["net"] }
tokio = { workspace = true, features = ["net"] }
2 changes: 1 addition & 1 deletion crates/rsjudge-runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nix = { version = "0.29.0", features = ["user", "resource", "process"] }
rsjudge-traits.workspace = true
rsjudge-utils.workspace = true
thiserror = "1.0.62"
tokio = { version = "1.38.0", features = ["process", "sync", "time", "signal"] }
tokio = { workspace = true, features = ["process", "sync", "time", "signal"] }
tokio-util = "0.7.11"
uzers = "0.12.0"

Expand Down
2 changes: 1 addition & 1 deletion crates/rsjudge-traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rust-version.workspace = true
async-trait = "0.1.81"
indexmap = { version = "2.2.6", features = ["serde"] }
serde.workspace = true
tokio = { version = "1.38.0", features = ["process"] }
tokio = { workspace = true, features = ["process"] }

[dev-dependencies]
serde_json = "1.0.120"
Expand Down
2 changes: 1 addition & 1 deletion crates/rsjudge-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rust-version.workspace = true
log.workspace = true
shell-words = "1.1.0"
thiserror = "1.0.62"
tokio = { version = "1.38.0", features = ["process", "macros", "rt-multi-thread"] }
tokio = { workspace = true, features = ["process", "macros", "rt-multi-thread"] }

[dev-dependencies]
anyhow = "1.0.86"
Expand Down
4 changes: 2 additions & 2 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ crate = "[email protected]"
reason = "petgraph 0.6.5 ships with fixedbitset 0.4.2, see upstream https://github.com/petgraph/petgraph/pull/617"

[[bans.skip-tree]]
crate = "tonic@0.11.0"
reason = "tonic 0.11.0 is not compatible with hyper 1.0 and axum 0.7, see upstream https://github.com/hyperium/tonic/pull/1595"
crate = "axum-core@0.4.3"
reason = "axum 0.7.5 depends on sync_wrapper 1.0, but it also depends on axum-core 0.4.3, which depends on sync_wrapper 0.1.1"

0 comments on commit 4605409

Please sign in to comment.