[package] name = "craftls" version = "0.0.2+rustls.0.22.0" edition = "2021" rust-version = "1.66" license = "Apache-2.0 OR ISC OR MIT" readme = "../README.md" description = "Rustls is a modern TLS library written in Rust." homepage = "https://github.com/3andne/craftls" repository = "https://github.com/3andne/craftls" categories = ["network-programming", "cryptography"] autobenches = false build = "build.rs" [lib] name = "rustls" [build-dependencies] rustversion = { version = "1.0.6", optional = true } [dependencies] aws-lc-rs = { version = "1.5", optional = true } log = { version = "0.4.4", optional = true } ring = { version = "0.17", optional = true } subtle = { version = "2.5.0", default-features = false } webpki = { package = "rustls-webpki", version = "0.102", features = ["std"], default-features = false } pki-types = { package = "rustls-pki-types", version = "1", features = ["std"] } zeroize = "1.6.0" static_init = "1.0.3" #!craft! paste = "1.0.14" #!craft! rand = "0.8.5" #!craft! brotli = "3.4.0" flate2 = "1.0.28" zstd = "0.12.3" home = "=0.5.5" #!craft! to minimize MSRV [features] default = ["logging", "ring", "tls12"] logging = ["log"] aws_lc_rs = ["dep:aws-lc-rs", "webpki/aws_lc_rs"] ring = ["dep:ring", "webpki/ring"] tls12 = [] read_buf = ["rustversion"] [dev-dependencies] base64 = "0.21" bencher = "0.1.5" env_logger = "0.10" log = "0.4.4" rustls-pemfile = "2" webpki-roots = "0.26" [[example]] name = "bogo_shim" path = "examples/internal/bogo_shim.rs" required-features = ["tls12"] [[example]] name = "bench" path = "examples/internal/bench.rs" [[bench]] name = "benchmarks" path = "benches/benchmarks.rs" harness = false required-features = ["ring"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [package.metadata.cargo_check_external_types] allowed_external_types = [ "rustls_pki_types::*", ]