1[package]
2name = "tokio-rustls"
3version = "0.26.2"
4license = "MIT OR Apache-2.0"
5repository = "https://github.com/rustls/tokio-rustls"
6homepage = "https://github.com/rustls/tokio-rustls"
7documentation = "https://docs.rs/tokio-rustls"
8readme = "README.md"
9description = "Asynchronous TLS/SSL streams for Tokio using Rustls."
10categories = ["asynchronous", "cryptography", "network-programming"]
11edition = "2021"
12rust-version = "1.71"
13exclude = ["/.github", "/examples", "/scripts"]
14
15[dependencies]
16rustls = { version = "0.23.22", default-features = false, features = ["std"] }
17tokio = "1.0"
18
19[features]
20default = ["logging", "tls12", "aws_lc_rs"]
21aws_lc_rs = ["rustls/aws_lc_rs"]
22aws-lc-rs = ["aws_lc_rs"] # Alias because Cargo features commonly use `-`
23early-data = []
24fips = ["rustls/fips"]
25logging = ["rustls/logging"]
26ring = ["rustls/ring"]
27tls12 = ["rustls/tls12"]
28
29[dev-dependencies]
30argh = "0.1.1"
31futures-util = "0.3.1"
32lazy_static = "1.1"
33rcgen = { version = "0.13", features = ["pem"] }
34tokio = { version = "1.0", features = ["full"] }
35webpki-roots = "0.26"
36