@@ -39,6 +39,11 @@ runtime-smol = ["async-io", "smol"]
39
39
# Configure `tracing` to log events via `log` if no `tracing` subscriber exists.
40
40
log = [" tracing/log" , " proto/log" , " udp/log" ]
41
41
42
+ # Internal (PRIVATE!) features used to aid testing.
43
+ # Don't rely on these whatsoever. They may disappear at any time.
44
+
45
+ __rustls-post-quantum-test = [" dep:rustls-post-quantum" , " rustls-aws-lc-rs" ]
46
+
42
47
[dependencies ]
43
48
async-io = { workspace = true , optional = true }
44
49
async-std = { workspace = true , optional = true }
@@ -49,6 +54,7 @@ rustc-hash = { workspace = true }
49
54
pin-project-lite = { workspace = true }
50
55
proto = { package = " quinn-proto" , path = " ../quinn-proto" , version = " 0.11.7" , default-features = false }
51
56
rustls = { workspace = true , optional = true }
57
+ rustls-post-quantum = { workspace = true , optional = true }
52
58
smol = { workspace = true , optional = true }
53
59
socket2 = { workspace = true }
54
60
thiserror = { workspace = true }
@@ -64,7 +70,6 @@ directories-next = { workspace = true }
64
70
rand = { workspace = true }
65
71
rcgen = { workspace = true }
66
72
rustls-pemfile = { workspace = true }
67
- rustls-post-quantum = { workspace = true }
68
73
clap = { workspace = true }
69
74
tokio = { workspace = true , features = [" rt" , " rt-multi-thread" , " time" , " macros" ] }
70
75
tracing-subscriber = { workspace = true }
@@ -93,7 +98,7 @@ required-features = ["rustls-ring"]
93
98
94
99
[[test ]]
95
100
name = " post_quantum"
96
- required-features = [" rustls-aws-lc-rs " ]
101
+ required-features = [" __rustls-post-quantum-test " ]
97
102
98
103
[[bench ]]
99
104
name = " bench"
0 commit comments