Debian Codegraph @

crt/s2n/bindings/rust/standard/s2n-tls-hyper/Cargo.toml

raw symbols SCIP
1 [package]
2 name = "s2n-tls-hyper"
3 description = "A compatbility crate allowing s2n-tls to be used with the hyper HTTP library"
4 version = "0.1.0"
5 authors = ["AWS s2n"]
6 edition = "2021"
7 rust-version = "1.83.0"
8 repository = "https://github.com/aws/s2n-tls"
9 license = "Apache-2.0"
10
11 [features]
12 default = []
13
14 [dependencies]
15 s2n-tls = { version = "0.3", path = "../../extended/s2n-tls" }
16 s2n-tls-tokio = { version = "0.3", path = "../../extended/s2n-tls-tokio" }
17 # A minimum hyper version of 1.3 is required by hyper-util 0.1.4:
18 # https://github.com/hyperium/hyper-util/blob/3f6a92ecd019b8d534d2945564d3ab8a92ff1f41/Cargo.toml#L34
19 hyper = { version = "1.3" }
20 # s2n-tls-hyper depends on hyper-util functionality added in 0.1.4:
21 # https://github.com/hyperium/hyper-util/commit/7bae87f0fd1109e3ef48b449f63d045d67efba73
22 hyper-util = { version = "0.1.4", features = ["client-legacy", "tokio", "http1", "http2"] }
23 tower-service = { version = "0.3" }
24 http = { version = "1" }
25
26 [dev-dependencies]
27 tokio = { version = "1", features = ["macros", "test-util"] }
28 http-body-util = "0.1"
29 hyper-util = { version = "0.1", features = ["server"] }
30 bytes = "1"