69 lines
2.1 KiB
TOML
69 lines
2.1 KiB
TOML
[package]
|
|
name = "hyper-rustls"
|
|
version = "0.27.9"
|
|
edition = "2021"
|
|
rust-version = "1.85"
|
|
license = "Apache-2.0 OR ISC OR MIT"
|
|
readme = "README.md"
|
|
description = "Rustls+hyper integration for pure rust HTTPS"
|
|
homepage = "https://github.com/rustls/hyper-rustls"
|
|
repository = "https://github.com/rustls/hyper-rustls"
|
|
documentation = "https://docs.rs/hyper-rustls/"
|
|
include = ["Cargo.toml", "LICENSE-MIT", "LICENSE-APACHE", "LICENSE-ISC", "README.md", "src/**/*.rs"]
|
|
|
|
[features]
|
|
default = ["native-tokio", "http1", "tls12", "logging", "aws-lc-rs"]
|
|
aws-lc-rs = ["rustls/aws_lc_rs"]
|
|
fips = ["aws-lc-rs", "rustls/fips"]
|
|
http1 = ["hyper-util/http1"]
|
|
http2 = ["hyper-util/http2"]
|
|
logging = ["log", "tokio-rustls/logging", "rustls/logging"]
|
|
native-tokio = ["rustls-native-certs"]
|
|
ring = ["rustls/ring"]
|
|
tls12 = ["tokio-rustls/tls12", "rustls/tls12"]
|
|
webpki-tokio = ["webpki-roots"]
|
|
|
|
[dependencies]
|
|
http = "1"
|
|
hyper = { version = "1", default-features = false }
|
|
hyper-util = { version = "0.1", default-features = false, features = ["client-legacy", "tokio"] }
|
|
log = { version = "0.4.4", optional = true }
|
|
rustls-native-certs = { version = "0.8", optional = true }
|
|
rustls-platform-verifier = { version = "0.7", optional = true }
|
|
rustls = { version = "0.23", default-features = false }
|
|
tokio = "1.0"
|
|
tokio-rustls = { version = "0.26", default-features = false }
|
|
tower-service = "0.3"
|
|
webpki-roots = { version = "1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
cfg-if = "1"
|
|
http-body-util = "0.1"
|
|
hyper-util = { version = "0.1", default-features = false, features = ["server-auto"] }
|
|
rustls = { version = "0.23", default-features = false, features = ["tls12"] }
|
|
tokio = { version = "1.0", features = ["io-std", "macros", "net", "rt-multi-thread"] }
|
|
|
|
[[example]]
|
|
name = "client"
|
|
path = "examples/client.rs"
|
|
required-features = ["native-tokio", "http1"]
|
|
|
|
[[example]]
|
|
name = "server"
|
|
path = "examples/server.rs"
|
|
required-features = ["aws-lc-rs"]
|
|
|
|
[package.metadata.docs.rs]
|
|
no-default-features = true
|
|
features = [
|
|
"http1",
|
|
"http2",
|
|
"logging",
|
|
"native-tokio",
|
|
"ring",
|
|
"rustls-platform-verifier",
|
|
"tls12",
|
|
"webpki-tokio",
|
|
]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|