Skip to content

Commit

Permalink
fix(deps): update all dependencies
Browse files Browse the repository at this point in the history
Also clean up `deny.toml`.
  • Loading branch information
mlegner authored and jpcsmith committed Jul 29, 2024
1 parent 6d6218d commit 44618ec
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 39 deletions.
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ members = [
]

[workspace.dependencies]
bytes = "1.5.0"
chrono = { version = "0.4.33", default-features = false }
prost = "0.12"
prost-types = "0.12"
bytes = "1.6.1"
chrono = { version = "0.4.38", default-features = false }
prost = "0.13"
prost-types = "0.13"
scion-grpc = { version = "0.1.0", path = "crates/scion-grpc" }
thiserror = "1.0.56"
tonic = "0.11"
tonic-build = "0.11"
thiserror = "1.0.63"
tonic = "0.12"
tonic-build = "0.12"
tracing = "0.1.40"

[workspace.lints.rust]
Expand Down
2 changes: 1 addition & 1 deletion crates/scion-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
bytes = { workspace = true }
chrono = { workspace = true }
scion-grpc = { workspace = true }
serde = { version = "1.0.196", features = ["derive"] }
serde = { version = "1.0.204", features = ["derive"] }
sha2 = "0.10.8"
thiserror = { workspace = true }
tracing = { workspace = true }
Expand Down
10 changes: 5 additions & 5 deletions crates/scion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ license = "Apache-2.0"
publish = false

[dependencies]
async-trait = "0.1.77"
bytes = "1.5.0"
async-trait = "0.1.81"
bytes = "1.6.1"
chrono = { workspace = true, features = ["clock"] }
futures = "0.3.30"
scion-grpc = { version = "0.1.0", path = "../scion-grpc" }
scion-proto = { version = "0.1.0", path = "../scion-proto" }
thiserror = { workspace = true }
tokio = { version = "1.35.1", features = ["rt-multi-thread", "macros"] }
tokio = { version = "1.39.2", features = ["rt-multi-thread", "macros"] }
tonic = { workspace = true }
tracing = { workspace = true }

[dev-dependencies]
mockall = "0.12.1"
tokio = { version = "1.35.1", features = ["rt-multi-thread", "macros", "test-util"] }
mockall = "0.13.0"
tokio = { version = "1.39.2", features = ["rt-multi-thread", "macros", "test-util"] }
tracing-subscriber = "0.3.18"

[lints]
Expand Down
2 changes: 1 addition & 1 deletion crates/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ publish = false
workspace = true

[dev-dependencies]
tokio = { version = "1.35.1", features = ["test-util", "tokio-macros", "macros"] }
tokio = { version = "1.39.2", features = ["test-util", "tokio-macros", "macros"] }
32 changes: 7 additions & 25 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
vulnerability = "deny"
unmaintained = "deny"
notice = "deny"
unsound = "deny"
version = 2
ignore = [
]

# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
# The lint level for crates which do not have a detectable license
unlicensed = "deny"
version = 2
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
Expand All @@ -21,20 +19,11 @@ allow = [
"BSD-3-Clause",
"MIT",
]
# Lint level for licenses considered copyleft
copyleft = "deny"
# Blanket approval or denial for OSI-approved or FSF Free/Libre licenses
allow-osi-fsf-free = "neither"
# Lint level used when no other predicates are matched
# 1. License isn't in the allow or deny lists
# 2. License isn't copyleft
# 3. License isn't OSI/FSF, or allow-osi-fsf-free = "neither"
default = "deny"
# The confidence threshold for detecting a license from license text.
# The higher the value, the more closely the license text must be to the
# canonical license text of a valid SPDX license file.
# [possible values: any between 0.0 and 1.0].
confidence-threshold = 0.9
confidence-threshold = 0.8
# Allow 1 or more licenses on a per-crate basis, so that particular licenses
# aren't accepted for every possible crate as with the normal allow list
exceptions = [
Expand All @@ -61,13 +50,9 @@ skip = [
{ name = "hashbrown", version = "=0.12.3" },
# h2 + tower use an old version
{ name = "indexmap", version = "=1.9.3" },
# hyper uses an old version
{ name = "socket2", version = "^0.4.9" },
# axum + redox_syscall use an old version
{ name = "bitflags", version = "=1.3.2" },
# axum-core uses an old version
{ name = "sync_wrapper", version = "=0.1.2" },
]
# Several crates depend on an older version of windows-sys
skip-tree = [{ name = "windows-sys", depth = 3, version = "0.48"}]

# This section is considered when running `cargo deny check sources`.
# More documentation about the 'sources' section can be found here:
Expand All @@ -83,7 +68,4 @@ unknown-git = "deny"
[sources.allow-org]
# 1 or more github.com organizations to allow git sources for
github = [
# "MystenLabs",
# "sui",
# "scionproto"
]

0 comments on commit 44618ec

Please sign in to comment.