Skip to content

Commit

Permalink
feat: enable rustls logging, gated by rustls-log feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyscot authored and djc committed Nov 10, 2024
1 parent a0d8985 commit 9be256e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quinn-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ ring = ["dep:ring"]
platform-verifier = ["dep:rustls-platform-verifier"]
# Configure `tracing` to log events via `log` if no `tracing` subscriber exists.
log = ["tracing/log"]
# Enable rustls logging
rustls-log = ["rustls?/logging"]

[dependencies]
arbitrary = { workspace = true, optional = true }
Expand Down
2 changes: 2 additions & 0 deletions quinn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ runtime-smol = ["async-io", "smol"]

# Configure `tracing` to log events via `log` if no `tracing` subscriber exists.
log = ["tracing/log", "proto/log", "udp/log"]
# Enable rustls logging
rustls-log = ["rustls?/logging"]

[dependencies]
async-io = { workspace = true, optional = true }
Expand Down

0 comments on commit 9be256e

Please # to comment.