@@ -16,10 +16,6 @@ features = ["pq-experimental"]
1616rustdoc-args = [" --cfg" , " docsrs" ]
1717
1818[features ]
19- default = [" runtime" ]
20-
21- runtime = [" hyper_old/runtime" ]
22-
2319# Use a FIPS-validated version of boringssl.
2420fips = [" tokio-boring/fips" ]
2521
@@ -39,29 +35,23 @@ fips-link-precompiled = ["tokio-boring/fips-link-precompiled"]
3935# Enables experimental post-quantum crypto (https://blog.cloudflare.com/post-quantum-for-all/)
4036pq-experimental = [" tokio-boring/pq-experimental" ]
4137
42- # Enable Hyper 1 support
43- hyper1 = [" dep:http" , " dep:hyper" , " dep:hyper-util" , " dep:tower-service" ]
44-
4538[dependencies ]
4639antidote = { workspace = true }
47- http = { workspace = true , optional = true }
48- http_old = { workspace = true }
49- hyper = { workspace = true , optional = true }
50- hyper-util = { workspace = true , optional = true , features = [" client" , " client-legacy" ] }
51- hyper_old = { workspace = true , features = [" client" ] }
40+ http = { workspace = true }
41+ hyper = { workspace = true }
42+ hyper-util = { workspace = true , features = [" client" , " client-legacy" ] }
5243linked_hash_set = { workspace = true }
5344boring = { workspace = true }
5445tokio = { workspace = true }
5546tokio-boring = { workspace = true }
5647tower-layer = { workspace = true }
57- tower-service = { workspace = true , optional = true }
48+ tower-service = { workspace = true }
5849
5950[dev-dependencies ]
6051bytes = { workspace = true }
6152http-body-util = { workspace = true }
6253hyper-util = { workspace = true , features = [" http1" , " http2" , " service" , " tokio" ] }
6354hyper = { workspace = true , features = [" server" ] }
64- hyper_old = { workspace = true , features = [ " full" ] }
6555tokio = { workspace = true , features = [ " full" ] }
6656tower = { workspace = true , features = [" util" ] }
6757futures = { workspace = true }
0 commit comments