Skip to content

Commit

Permalink
deps(quinn-udp): enable direct-log feature to log via log (#2004)
Browse files Browse the repository at this point in the history
* deps(quinn-udp): move to workspace dependency

* deps(quinn-udp): bump to latest version

* deps(quinn-udp): enable direct-log feature

quinn-rs/quinn#1923 made the `tracing` dependency
optional. In addition, when `direct-log` is enabled, it allows using `log`
instead of `tracing` for logging.
  • Loading branch information
mxinden authored Jul 23, 2024
1 parent 88d3ed1 commit 09de588
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ rust-version = "1.76.0"
[workspace.dependencies]
log = { version = "0.4", default-features = false }
qlog = { version = "0.13", default-features = false }
quinn-udp = { version = "0.5.4", default-features = false, features = ["direct-log"] }

[workspace.lints.clippy]
cargo = { level = "warn", priority = -1 }
Expand Down
2 changes: 1 addition & 1 deletion neqo-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ neqo-http3 = { path = "./../neqo-http3" }
neqo-transport = { path = "./../neqo-transport" }
neqo-udp = { path = "./../neqo-udp" }
qlog = { workspace = true }
quinn-udp = { version = "0.5.0", default-features = false }
quinn-udp = { workspace = true }
regex = { version = "1.9", default-features = false, features = ["unicode-perl"] }
tokio = { version = "1", default-features = false, features = ["net", "time", "macros", "rt", "rt-multi-thread"] }
url = { version = "2.5", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion neqo-udp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ workspace = true
[dependencies]
log = { workspace = true }
neqo-common = { path = "./../neqo-common" }
quinn-udp = { version = "0.5.0", default-features = false }
quinn-udp = { workspace = true }

[package.metadata.cargo-machete]
ignored = ["log"]
Expand Down

0 comments on commit 09de588

Please sign in to comment.