66 lines
2.1 KiB
TOML
66 lines
2.1 KiB
TOML
[package]
|
|
name = "hyper-rboring"
|
|
version = { workspace = true }
|
|
authors = ["Steven Fackler <sfackler@gmail.com>", "Ivan Nikulin <ifaaan@gmail.com>"]
|
|
edition = { workspace = true }
|
|
description = "Hyper TLS support via BoringSSL"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = { workspace = true }
|
|
documentation = "https://docs.rs/hyper-boring"
|
|
readme = "README.md"
|
|
exclude = ["test/*"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["pq-experimental"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
default = ["runtime"]
|
|
|
|
runtime = ["hyper_old/runtime"]
|
|
|
|
# Use a FIPS-validated version of boringssl.
|
|
fips = ["tokio-boring/fips"]
|
|
|
|
# Link with precompiled FIPS-validated `bcm.o` module.
|
|
fips-link-precompiled = ["tokio-boring/fips-link-precompiled"]
|
|
|
|
# Enables experimental post-quantum crypto (https://blog.cloudflare.com/post-quantum-for-all/)
|
|
pq-experimental = ["tokio-boring/pq-experimental"]
|
|
|
|
# Enable Hyper 1 support
|
|
hyper1 = ["dep:http", "dep:hyper", "dep:hyper-util", "dep:tower-service"]
|
|
|
|
[dependencies]
|
|
antidote = { workspace = true }
|
|
http = { workspace = true, optional = true }
|
|
http_old = { workspace = true }
|
|
hyper = { workspace = true, optional = true }
|
|
hyper-util = { workspace = true, optional = true, features = ["client", "client-legacy"] }
|
|
hyper_old = { workspace = true, features = ["client"] }
|
|
linked_hash_set = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
boring = { workspace = true }
|
|
tokio = { workspace = true }
|
|
tokio-boring = { workspace = true }
|
|
tower-layer = { workspace = true }
|
|
tower-service = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
bytes = { workspace = true }
|
|
http-body-util = { workspace = true }
|
|
hyper-util = { workspace = true, features = ["http1", "http2", "service", "tokio"] }
|
|
hyper = { workspace = true, features = ["server"] }
|
|
hyper_old = { workspace = true, features = [ "full" ] }
|
|
tokio = { workspace = true, features = [ "full" ] }
|
|
tower = { workspace = true, features = ["util"] }
|
|
futures = { workspace = true }
|
|
|
|
[package.metadata.release]
|
|
pre-release-hook = [
|
|
"git-cliff",
|
|
"--workdir", "..",
|
|
"-o", "../RELEASE_NOTES",
|
|
"--tag", "{{version}}"
|
|
]
|