@@ -26,10 +26,8 @@ network-interface = "1.1.1"
26
26
parking_lot = " 0.12.3"
27
27
pin-project = " 1.1.0"
28
28
prost = " 0.12.6"
29
- quinn = { version = " 0.9.3" , default-features = false , features = [" tls-rustls" , " runtime-tokio" ], optional = true }
30
29
rand = { version = " 0.8.0" , features = [" getrandom" ] }
31
30
rcgen = " 0.10.0"
32
- ring = " 0.16.20"
33
31
serde = " 1.0.158"
34
32
sha2 = " 0.10.8"
35
33
simple-dns = " 0.9.3"
@@ -47,18 +45,17 @@ hickory-resolver = "0.24.2"
47
45
uint = " 0.10.0"
48
46
unsigned-varint = { version = " 0.8.0" , features = [" codec" ] }
49
47
url = " 2.5.4"
50
- webpki = { version = " 0.22.4" , optional = true }
51
48
x25519-dalek = " 2.0.1"
52
49
x509-parser = " 0.17.0"
53
50
yasna = " 0.5.0"
54
51
zeroize = " 1.8.1"
55
52
yamux = " 0.13.4"
56
53
57
- # Exposed dependencies. Breaking changes to these are breaking changes to us .
58
- [ dependencies . rustls ]
59
- version = " 0.20.7"
60
- default-features = false
61
- features = [ " dangerous_configuration " ] # Must enable this to allow for custom verification code.
54
+ # Quic related dependencies. Quic is an experimental feature flag. The dependencies must be updated .
55
+ quinn = { version = " 0.9.3 " , default-features = false , features = [ " tls- rustls" , " runtime-tokio " ], optional = true }
56
+ rustls = { version = " 0.20.7" , default-features = false , features = [ " dangerous_configuration " ], optional = true }
57
+ ring = { version = " 0.16.20 " , optional = true }
58
+ webpki = { version = " 0.22.4 " , optional = true }
62
59
63
60
[dev-dependencies ]
64
61
asynchronous-codec = " 0.7.0"
@@ -86,7 +83,7 @@ futures_ringbuf = "0.4.0"
86
83
87
84
[features ]
88
85
custom_sc_network = []
89
- quic = [" dep:webpki" , " dep:quinn" ]
86
+ quic = [" dep:webpki" , " dep:quinn" , " dep:rustls " , " dep:ring " ]
90
87
webrtc = [" dep:str0m" ]
91
88
websocket = [" dep:tokio-tungstenite" ]
92
89
0 commit comments