[package] name = "tokio-boring" version = { workspace = true } authors = ["Alex Crichton ", "Ivan Nikulin "] license = "MIT OR Apache-2.0" edition = { workspace = true } repository = { workspace = true } homepage = "https://github.com/cloudflare/boring" documentation = "https://docs.rs/tokio-boring" description = """ An implementation of SSL streams for Tokio backed by BoringSSL """ [package.metadata.docs.rs] features = ["rpk", "pq-experimental"] rustdoc-args = ["--cfg", "docsrs"] [features] # Use a FIPS-validated version of boringssl. fips = ["boring/fips", "boring-sys/fips"] # Link with precompiled FIPS-validated `bcm.o` module. fips-link-precompiled = ["boring/fips-link-precompiled", "boring-sys/fips-link-precompiled"] # Enables experimental post-quantum crypto (https://blog.cloudflare.com/post-quantum-for-all/) pq-experimental = ["boring/pq-experimental"] # Enables Raw public key API (https://datatracker.ietf.org/doc/html/rfc7250) rpk = ["boring/rpk"] [dependencies] boring = { workspace = true } boring-sys = { workspace = true } once_cell = { workspace = true } tokio = { workspace = true } [dev-dependencies] futures = { workspace = true } tokio = { workspace = true, features = [ "full" ] } anyhow = { workspace = true }