# 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" name = "rustls-cng" version = "0.5.1" authors = ["Dmitry Pankratov "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Windows CNG API bridge for rustls" documentation = "https://rustls.github.io/rustls-cng/doc/rustls_cng" readme = "README.md" keywords = [ "cng", "tls", "rustls", "windows", ] license = "MIT/Apache-2.0" repository = "https://github.com/rustls/rustls-cng" [package.metadata.docs.rs] targets = [ "x86_64-pc-windows-gnu", "x86_64-pc-windows-msvc", ] [lib] name = "rustls_cng" path = "src/lib.rs" [[example]] name = "client" path = "examples/client.rs" [[example]] name = "server" path = "examples/server.rs" [[test]] name = "test_client_server" path = "tests/test_client_server.rs" [[test]] name = "test_find" path = "tests/test_find.rs" [[test]] name = "test_sign" path = "tests/test_sign.rs" [dependencies.rustls] version = "0.23" features = ["std"] default-features = false [dependencies.sha2] version = "0.10" [dependencies.windows-sys] version = "0.59" features = [ "Win32_Foundation", "Win32_Security_Cryptography", ] [dev-dependencies.anyhow] version = "1" [dev-dependencies.clap] version = "4" features = ["derive"] [dev-dependencies.rustls-pki-types] version = "1" [features] aws-lc-rs = ["rustls/aws_lc_rs"] default = [ "logging", "tls12", "aws-lc-rs", ] early-data = [] fips = ["rustls/fips"] logging = ["rustls/logging"] ring = ["rustls/ring"] tls12 = ["rustls/tls12"]