Skip to content

Commit

Permalink
chore: Bump some dependency versions that changed upstream (mozilla#2225
Browse files Browse the repository at this point in the history
)

And also convert some that are used in multiple crates to workspace
dependencies.
  • Loading branch information
larseggert authored Nov 12, 2024
1 parent f11ce06 commit 84bf552
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 15 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ license = "MIT OR Apache-2.0"
rust-version = "1.76.0"

[workspace.dependencies]
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
enum-map = { version = "2.7", default-features = false }
log = { version = "0.4", default-features = false }
qlog = { version = "0.13", default-features = false }
quinn-udp = { version = "0.5.6", default-features = false, features = ["direct-log"] }
static_assertions = { version = "1.1", default-features = false }
url = { version = "2.5", default-features = false, features = ["std"] }


[workspace.lints.clippy]
cargo = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
Expand Down
1 change: 1 addition & 0 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ readme.workspace = true
cargo-fuzz = true

[dependencies]
# Not used in Firefox, so we can be liberal with dependency versions
neqo-common = { path = "../neqo-common" }
neqo-crypto = { path = "../neqo-crypto" }
neqo-transport = { path = "../neqo-transport" }
Expand Down
2 changes: 1 addition & 1 deletion neqo-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ bench = false
workspace = true

[dependencies]
# neqo-bin is not used in Firefox, so we can be liberal with dependency versions
# Not used in Firefox, so we can be liberal with dependency versions
clap = { version = "4.4", default-features = false, features = ["std", "help", "usage", "error-context", "suggestions", "derive"] }
clap-verbosity-flag = { version = "2.2", default-features = false }
futures = { version = "0.3", default-features = false, features = ["alloc"] }
Expand Down
6 changes: 3 additions & 3 deletions neqo-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ readme.workspace = true
workspace = true

[dependencies]
# Sync with https://searchfox.org/mozilla-central/source/Cargo.lock 2024-02-08
enum-map = { version = "2.7", default-features = false }
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
enum-map = { workspace = true }
env_logger = { version = "0.10", default-features = false }
hex = { version = "0.4", default-features = false, features = ["alloc"], optional = true }
log = { workspace = true }
qlog = { workspace = true }

[target."cfg(windows)".dependencies]
# Sync with https://searchfox.org/mozilla-central/source/Cargo.lock 2024-02-08
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
windows = { version = "0.58", default-features = false, features = ["Win32_Media"] }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions neqo-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ readme.workspace = true
workspace = true

[dependencies]
# Sync with https://searchfox.org/mozilla-central/source/Cargo.lock 2024-02-08
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
log = { workspace = true }
neqo-common = { path = "../neqo-common" }

[build-dependencies]
# Sync with https://searchfox.org/mozilla-central/source/Cargo.lock 2024-02-08
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
bindgen = { version = "0.69", default-features = false, features = ["runtime"] }
mozbuild = { version = "0.1", default-features = false, optional = true }
semver = { version = "1.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion neqo-http3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ readme.workspace = true
workspace = true

[dependencies]
# Sync with https://searchfox.org/mozilla-central/source/Cargo.lock 2024-02-08
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
enumset = { version = "1.1", default-features = false }
log = { workspace = true }
neqo-common = { path = "./../neqo-common" }
Expand Down
4 changes: 2 additions & 2 deletions neqo-qpack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ readme.workspace = true
workspace = true

[dependencies]
# Sync with https://searchfox.org/mozilla-central/source/Cargo.lock 2024-02-08
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
log = { workspace = true }
neqo-common = { path = "./../neqo-common" }
neqo-transport = { path = "./../neqo-transport" }
qlog = { workspace = true }
static_assertions = { version = "1.1", default-features = false }
static_assertions = { workspace = true }

[dev-dependencies]
test-fixture = { path = "../test-fixture" }
Expand Down
8 changes: 4 additions & 4 deletions neqo-transport/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ readme.workspace = true
workspace = true

[dependencies]
# Sync with https://searchfox.org/mozilla-central/source/Cargo.lock 2024-02-08
enum-map = { version = "2.7", default-features = false }
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
enum-map = { workspace = true }
indexmap = { version = "2.2", default-features = false } # See https://github.com/mozilla/neqo/issues/1858
log = { workspace = true }
neqo-common = { path = "../neqo-common" }
neqo-crypto = { path = "../neqo-crypto" }
qlog = { workspace = true }
smallvec = { version = "1.11", default-features = false }
static_assertions = { version = "1.1", default-features = false }
smallvec = { version = "1.13", default-features = false }
static_assertions = { workspace = true }

[dev-dependencies]
criterion = { version = "0.5", default-features = false }
Expand Down
1 change: 1 addition & 0 deletions neqo-udp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ readme.workspace = true
workspace = true

[dependencies]
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
log = { workspace = true }
neqo-common = { path = "./../neqo-common" }
quinn-udp = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion test-fixture/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ readme.workspace = true
workspace = true

[dependencies]
# Sync with https://searchfox.org/mozilla-central/source/Cargo.lock 2024-02-08
# Checked against https://searchfox.org/mozilla-central/source/Cargo.lock 2024-11-11
log = { workspace = true }
neqo-common = { path = "../neqo-common" }
neqo-crypto = { path = "../neqo-crypto" }
Expand Down

0 comments on commit 84bf552

Please sign in to comment.