# 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.66" name = "craftls" version = "0.0.2+rustls.0.22.0" build = "build.rs" autobenches = false description = "Rustls is a modern TLS library written in Rust." homepage = "https://github.com/3andne/craftls" readme = "README.md" categories = [ "network-programming", "cryptography", ] license = "Apache-2.0 OR ISC OR MIT" repository = "https://github.com/3andne/craftls" [package.metadata.cargo_check_external_types] allowed_external_types = ["rustls_pki_types::*"] [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "rustls" [[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"] [dependencies.aws-lc-rs] version = "1.5" optional = true [dependencies.brotli] version = "3.4.0" [dependencies.flate2] version = "1.0.28" [dependencies.home] version = "=0.5.5" [dependencies.log] version = "0.4.4" optional = true [dependencies.paste] version = "1.0.14" [dependencies.pki-types] version = "1" features = ["std"] package = "rustls-pki-types" [dependencies.rand] version = "0.8.5" [dependencies.ring] version = "0.17" optional = true [dependencies.static_init] version = "1.0.3" [dependencies.subtle] version = "2.5.0" default-features = false [dependencies.webpki] version = "0.102" features = ["std"] default-features = false package = "rustls-webpki" [dependencies.zeroize] version = "1.6.0" [dependencies.zstd] version = "0.12.3" [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 = "2" [dev-dependencies.webpki-roots] version = "0.26" [build-dependencies.rustversion] version = "1.0.6" optional = true [features] aws_lc_rs = [ "dep:aws-lc-rs", "webpki/aws_lc_rs", ] default = [ "logging", "ring", "tls12", ] logging = ["log"] read_buf = ["rustversion"] ring = [ "dep:ring", "webpki/ring", ] tls12 = []