rustls-ffi 0.15.2

Rustls bindings for non-Rust languages
Documentation
# 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.85"
name = "rustls-ffi"
version = "0.15.2"
build = "build.rs"
links = "rustls_ffi"
autolib = false
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]
name = "rustls"
subdirectory = false
generation = false

[package.metadata.capi.library]
name = "rustls"
version_suffix_components = 3
rustflags = "-Cmetadata=rustls-ffi"

[package.metadata.capi.pkg_config]
name = "rustls"
filename = "rustls"

[[package.metadata.capi.install.include.asset]]
from = "src/rustls.h"
to = ""

[features]
aws-lc-rs = [
    "rustls/aws-lc-rs",
    "webpki/aws-lc-rs",
]
capi = []
cert_compression = [
    "rustls/brotli",
    "rustls/zlib",
]
default = [
    "aws-lc-rs",
    "prefer-post-quantum",
]
fips = [
    "rustls/fips",
    "webpki/aws-lc-rs-fips",
]
no_log_capture = []
prefer-post-quantum = [
    "aws-lc-rs",
    "rustls/prefer-post-quantum",
]
read_buf = ["rustls/read_buf"]
ring = [
    "rustls/ring",
    "webpki/ring",
]

[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.macro_rules_attribute]
version = "0.2.2"

[dependencies.rustls]
version = "=0.23.38"
features = [
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-platform-verifier]
version = "0.7"

[dependencies.webpki]
version = "0.103"
features = ["std"]
default-features = false
package = "rustls-webpki"

[dev-dependencies.toml]
version = "0.9"
features = [
    "parse",
    "serde",
    "std",
]
default-features = false