@@ -10,6 +10,18 @@ homepage = "https://github.com/rustls/hyper-rustls"
1010repository = " https://github.com/rustls/hyper-rustls"
1111documentation = " https://docs.rs/hyper-rustls/"
1212
13+ [features ]
14+ default = [" native-tokio" , " http1" , " tls12" , " logging" , " aws-lc-rs" ]
15+ aws-lc-rs = [" rustls/aws_lc_rs" ]
16+ http1 = [" hyper-util/http1" ]
17+ http2 = [" hyper-util/http2" ]
18+ webpki-tokio = [" webpki-roots" ]
19+ native-tokio = [" rustls-native-certs" ]
20+ ring = [" rustls/ring" ]
21+ tls12 = [" tokio-rustls/tls12" , " rustls/tls12" ]
22+ logging = [" log" , " tokio-rustls/logging" , " rustls/logging" ]
23+ fips = [" aws-lc-rs" , " rustls/fips" ]
24+
1325[dependencies ]
1426http = " 1"
1527hyper = { version = " 1" , default-features = false }
@@ -32,18 +44,6 @@ rustls = { version = "0.23", default-features = false, features = ["tls12"] }
3244rustls-pemfile = " 2"
3345tokio = { version = " 1.0" , features = [" io-std" , " macros" , " net" , " rt-multi-thread" ] }
3446
35- [features ]
36- default = [" native-tokio" , " http1" , " tls12" , " logging" , " aws-lc-rs" ]
37- aws-lc-rs = [" rustls/aws_lc_rs" ]
38- http1 = [" hyper-util/http1" ]
39- http2 = [" hyper-util/http2" ]
40- webpki-tokio = [" webpki-roots" ]
41- native-tokio = [" rustls-native-certs" ]
42- ring = [" rustls/ring" ]
43- tls12 = [" tokio-rustls/tls12" , " rustls/tls12" ]
44- logging = [" log" , " tokio-rustls/logging" , " rustls/logging" ]
45- fips = [" aws-lc-rs" , " rustls/fips" ]
46-
4747[[example ]]
4848name = " client"
4949path = " examples/client.rs"
0 commit comments