@@ -10,6 +10,18 @@ homepage = "https://github.com/rustls/hyper-rustls"
10
10
repository = " https://github.com/rustls/hyper-rustls"
11
11
documentation = " https://docs.rs/hyper-rustls/"
12
12
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
+
13
25
[dependencies ]
14
26
http = " 1"
15
27
hyper = { version = " 1" , default-features = false }
@@ -32,18 +44,6 @@ rustls = { version = "0.23", default-features = false, features = ["tls12"] }
32
44
rustls-pemfile = " 2"
33
45
tokio = { version = " 1.0" , features = [" io-std" , " macros" , " net" , " rt-multi-thread" ] }
34
46
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
-
47
47
[[example ]]
48
48
name = " client"
49
49
path = " examples/client.rs"
0 commit comments