148 lines
3.4 KiB
TOML
148 lines
3.4 KiB
TOML
# 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-platform-verifier"
|
|
version = "0.7.0"
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "rustls-platform-verifier supports verifying TLS certificates in rustls with the operating system verifier"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"tls",
|
|
"certificate",
|
|
"verification",
|
|
"os",
|
|
"native",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rustls/rustls-platform-verifier"
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
features = [
|
|
"dbg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
cert-logging = ["base64"]
|
|
dbg = []
|
|
docsrs = [
|
|
"jni",
|
|
"once_cell",
|
|
]
|
|
ffi-testing = [
|
|
"android_logger",
|
|
"rustls/ring",
|
|
]
|
|
|
|
[lib]
|
|
name = "rustls_platform_verifier"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "update-certs"
|
|
path = "examples/update-certs.rs"
|
|
|
|
[dependencies.base64]
|
|
version = "0.22"
|
|
optional = true
|
|
|
|
[dependencies.jni]
|
|
version = "0.22.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.once_cell]
|
|
version = "1.9"
|
|
optional = true
|
|
|
|
[dependencies.rustls]
|
|
version = "0.23.27"
|
|
features = ["std"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.rustls]
|
|
version = "0.23"
|
|
features = ["ring"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.webpki-root-certs]
|
|
version = "1"
|
|
|
|
[target.'cfg(all(unix, not(target_os = "android"), not(target_vendor = "apple"), not(target_arch = "wasm32")))'.dependencies.rustls-native-certs]
|
|
version = "0.8"
|
|
|
|
[target.'cfg(all(unix, not(target_os = "android"), not(target_vendor = "apple"), not(target_arch = "wasm32")))'.dependencies.webpki]
|
|
version = "0.103"
|
|
default-features = false
|
|
package = "rustls-webpki"
|
|
|
|
[target.'cfg(any(target_vendor = "apple"))'.dependencies.core-foundation]
|
|
version = "0.10"
|
|
|
|
[target.'cfg(any(target_vendor = "apple"))'.dependencies.core-foundation-sys]
|
|
version = "0.8"
|
|
|
|
[target.'cfg(any(target_vendor = "apple"))'.dependencies.security-framework]
|
|
version = "3.5.0"
|
|
|
|
[target.'cfg(any(target_vendor = "apple"))'.dependencies.security-framework-sys]
|
|
version = "2.15"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.webpki]
|
|
version = "0.103"
|
|
default-features = false
|
|
package = "rustls-webpki"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.webpki-root-certs]
|
|
version = "1"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.android_logger]
|
|
version = "0.15"
|
|
optional = true
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.jni]
|
|
version = "0.22"
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.once_cell]
|
|
version = "1.9"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.rustls-platform-verifier-android]
|
|
version = "0.1.0"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.webpki]
|
|
version = "0.103"
|
|
default-features = false
|
|
package = "rustls-webpki"
|
|
|
|
[target."cfg(windows)".dependencies.windows-sys]
|
|
version = ">=0.52.0, <0.62.0"
|
|
features = [
|
|
"Win32_Foundation",
|
|
"Win32_Security_Cryptography",
|
|
]
|
|
default-features = false
|