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