Skip to content

Commit

Permalink
chore(deps): ⬆️ update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisu-Woniu committed Apr 12, 2024
1 parent 712f00f commit cc3fcae
Show file tree
Hide file tree
Showing 8 changed files with 1,004 additions and 96 deletions.
1,053 changes: 978 additions & 75 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ rsjudge-utils.workspace = true
rsjudge-grpc = { version = "0.1.0", path = "crates/rsjudge-grpc", optional = true }
rsjudge-rest = { version = "0.1.0", path = "crates/rsjudge-rest", optional = true }

anyhow = "1.0.80"
anyhow = "1.0.82"
caps = "0.5.5"
clap = { version = "4.5.3", features = ["derive"] }
clap = { version = "4.5.4", features = ["derive"] }
env_logger = "0.11.3"
log.workspace = true
mimalloc = "0.1.39"
Expand All @@ -159,17 +159,17 @@ toml = "0.8.12"
# strfmt = "0.2.4"
# uzers = "0.11.3"

[dev-dependencies]
tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] }
# [dev-dependencies]
# tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros"] }

[features]
grpc = ["dep:rsjudge-grpc"]
rest = ["dep:rsjudge-rest"]
default = ["grpc"]

[build-dependencies]
clap = { version = "4.5.3", features = ["derive"] }
clap_complete = "4.5.1"
clap = { version = "4.5.4", features = ["derive"] }
clap_complete = "4.5.2"
clap_mangen = "0.2.20"

[profile.release]
Expand Down
13 changes: 8 additions & 5 deletions crates/rsjudge-grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ edition.workspace = true
license.workspace = true
rust-version.workspace = true

[package.metadata.cargo-machete]
ignored = ["prost"]

[dependencies]
anyhow = "1.0.81"
anyhow = "1.0.82"
futures = "0.3.30"
log.workspace = true
prost = "0.12.3"
prost-types = "0.12.3"
tokio = { version = "1.36.0", features = ["net"] }
prost = "0.12.4"
prost-types = "0.12.4"
tokio = { version = "1.37.0", features = ["net"] }
tokio-stream = "0.1.15"
tonic = "0.11.0"

[build-dependencies]
anyhow = "1.0.81"
anyhow = "1.0.82"
rsjudge-utils = { version = "0.1.0", path = "../rsjudge-utils" }
tonic-build = "0.11.0"
10 changes: 6 additions & 4 deletions crates/rsjudge-judger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ license.workspace = true
rust-version.workspace = true

[dependencies]
async-trait = "0.1.78"
async-trait = "0.1.80"
futures = "0.3.30"
rsjudge-utils = { version = "0.1.0", path = "../rsjudge-utils" }
tokio = { version = "1.36.0", features = ["io-util", "fs", "macros"] }
tokio = { version = "1.37.0", features = ["io-util", "fs", "macros"] }

[dev-dependencies]
temp-dir = "0.1.12"
tokio = { version = "1.36.0", features = ["rt-multi-thread"] }
cap-async-std = { version = "0.26.1", features = ["tokio1"] }
cap-tempfile = "3.0.0"
tempfile = "3.10.1"
tokio = { version = "1.37.0", features = ["rt-multi-thread"] }
2 changes: 1 addition & 1 deletion crates/rsjudge-judger/src/comparer/default_comparer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl Comparer for DefaultComparer {
mod tests {
use std::{any::type_name, io};

use temp_dir::TempDir;
use tempfile::TempDir;
use tokio::{
fs::File,
io::{empty, AsyncWriteExt as _},
Expand Down
4 changes: 2 additions & 2 deletions crates/rsjudge-rest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ license.workspace = true
rust-version.workspace = true

[dependencies]
axum = "0.7.4"
tokio = { version = "1.36.0", features = ["net"] }
axum = "0.7.5"
tokio = { version = "1.37.0", 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 @@ -21,4 +21,4 @@ uzers = "0.11.3"
rustc_version = "0.4.0"

[dev-dependencies]
anyhow = "1.0.81"
anyhow = "1.0.82"
4 changes: 2 additions & 2 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ rust-version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.80"
clap = { version = "4.5.1", features = ["derive"] }
anyhow = "1.0.82"
clap = { version = "4.5.4", features = ["derive"] }
sh = "0.2.1"

[features]
Expand Down

0 comments on commit cc3fcae

Please sign in to comment.