Skip to content

Commit 9be256e

Browse files
crazyscotdjc
authored andcommitted
feat: enable rustls logging, gated by rustls-log feature flag
1 parent a0d8985 commit 9be256e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: quinn-proto/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ ring = ["dep:ring"]
3030
platform-verifier = ["dep:rustls-platform-verifier"]
3131
# Configure `tracing` to log events via `log` if no `tracing` subscriber exists.
3232
log = ["tracing/log"]
33+
# Enable rustls logging
34+
rustls-log = ["rustls?/logging"]
3335

3436
[dependencies]
3537
arbitrary = { workspace = true, optional = true }

Diff for: quinn/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ runtime-smol = ["async-io", "smol"]
3838

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

4244
[dependencies]
4345
async-io = { workspace = true, optional = true }

0 commit comments

Comments
 (0)