# 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.75" name = "ktls" version = "6.0.1" authors = ["Amos Wenger "] description = """ Configures kTLS for tokio-rustls client and server connections. """ documentation = "https://docs.rs/ktls" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/rustls/ktls" [dependencies.futures-util] version = "0.3.30" [dependencies.ktls-sys] version = "1.0.1" [dependencies.libc] version = "0.2.155" features = ["const-extern-fn"] [dependencies.memoffset] version = "0.9.1" [dependencies.nix] version = "0.29.0" features = [ "socket", "uio", "net", ] [dependencies.num_enum] version = "0.7.3" [dependencies.pin-project-lite] version = "0.2.14" [dependencies.rustls] version = "0.23.12" default-features = false [dependencies.smallvec] version = "1.13.2" [dependencies.thiserror] version = "1.0.63" [dependencies.tokio] version = "1.39.2" features = [ "net", "macros", "io-util", ] [dependencies.tokio-rustls] version = "0.26.0" default-features = false [dependencies.tracing] version = "0.1.40" [dev-dependencies.lazy_static] version = "1.5.0" [dev-dependencies.oorandom] version = "11.1.4" [dev-dependencies.rcgen] version = "0.13.1" [dev-dependencies.socket2] version = "0.5.7" [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.thiserror] version = "1.0.63" [dev-dependencies.tokio] version = "1.39.2" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] aws-lc-rs = ["aws_lc_rs"] aws_lc_rs = [ "rustls/aws_lc_rs", "tokio-rustls/aws_lc_rs", ] default = [ "aws_lc_rs", "tls12", ] ring = [ "rustls/ring", "tokio-rustls/ring", ] tls12 = [ "rustls/tls12", "tokio-rustls/tls12", ]