# 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.64" name = "rustls-ffi" version = "0.14.0" build = "build.rs" links = "rustls_ffi" autobins = false autoexamples = false autotests = false autobenches = false description = "Rustls bindings for non-Rust languages" homepage = "https://github.com/rustls/rustls-ffi" readme = "README-crates.io.md" categories = [ "network-programming", "cryptography", ] license = "Apache-2.0 OR ISC OR MIT" repository = "https://github.com/rustls/rustls-ffi" [package.metadata.capi.header] generation = false name = "rustls" subdirectory = false [[package.metadata.capi.install.include.asset]] from = "src/rustls.h" to = "" [package.metadata.capi.library] name = "rustls" rustflags = "-Cmetadata=rustls-ffi" version_suffix_components = 3 [package.metadata.capi.pkg_config] filename = "rustls" name = "rustls" [lib] name = "rustls_ffi" crate-type = [ "lib", "staticlib", ] path = "src/lib.rs" [[test]] name = "client_server" path = "tests/client_server.rs" [[test]] name = "rustls_version" path = "tests/rustls_version.rs" [[test]] name = "static_libs" path = "tests/static_libs.rs" [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4.22" [dependencies.pki-types] version = "1" features = ["std"] package = "rustls-pki-types" [dependencies.rustls] version = "0.23.13" features = [ "std", "tls12", ] default-features = false [dependencies.rustls-pemfile] version = "2" [dependencies.rustls-platform-verifier] version = "0.3" [dependencies.webpki] version = "0.102.0" features = ["std"] default-features = false package = "rustls-webpki" [dev-dependencies.regex] version = "1.9.6" [dev-dependencies.toml] version = "0.6.0" features = ["parse"] default-features = false [features] aws-lc-rs = [ "rustls/aws-lc-rs", "webpki/aws_lc_rs", ] capi = [] default = ["aws-lc-rs"] no_log_capture = [] read_buf = ["rustls/read_buf"] ring = [ "rustls/ring", "webpki/ring", ]