# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60" name = "rustls" version = "0.21.2" build = "build.rs" autobenches = false description = "Rustls is a modern TLS library written in Rust." homepage = "https://github.com/rustls/rustls" readme = "README.md" categories = [ "network-programming", "cryptography", ] license = "Apache-2.0 OR ISC OR MIT" repository = "https://github.com/rustls/rustls" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "bogo_shim" path = "examples/internal/bogo_shim.rs" required-features = [ "dangerous_configuration", "quic", ] [[example]] name = "bench" path = "examples/internal/bench.rs" [[bench]] name = "benchmarks" path = "benches/benchmarks.rs" harness = false [dependencies.log] version = "0.4.4" optional = true [dependencies.ring] version = "0.16.20" [dependencies.sct] version = "0.7.0" [dependencies.webpki] version = "0.100.0" features = [ "alloc", "std", ] package = "rustls-webpki" [dev-dependencies.base64] version = "0.21" [dev-dependencies.bencher] version = "0.1.5" [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.log] version = "0.4.4" [dev-dependencies.rustls-pemfile] version = "1.0.0" [dev-dependencies.webpki-roots] version = "0.23.0" [build-dependencies.rustversion] version = "1.0.6" optional = true [features] dangerous_configuration = [] default = [ "logging", "tls12", ] logging = ["log"] quic = [] read_buf = ["rustversion"] secret_extraction = [] tls12 = []