123 lines
3.2 KiB
TOML
123 lines
3.2 KiB
TOML
# Copyright 2015 Brian Smith.
|
|
#
|
|
# Permission to use, copy, modify, and/or distribute this software for any
|
|
# purpose with or without fee is hereby granted, provided that the above
|
|
# copyright notice and this permission notice appear in all copies.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
|
|
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
|
|
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
[package]
|
|
categories = ["cryptography", "no-std"]
|
|
description = "Web PKI X.509 Certificate Verification."
|
|
edition = "2021"
|
|
rust-version = "1.71"
|
|
license = "ISC"
|
|
name = "rustls-webpki"
|
|
readme = "README.md"
|
|
repository = "https://github.com/rustls/webpki"
|
|
version = "0.103.13"
|
|
|
|
include = [
|
|
"Cargo.toml",
|
|
|
|
"/LICENSE",
|
|
"/README.md",
|
|
|
|
"src/aws_lc_rs_algs.rs",
|
|
"src/calendar.rs",
|
|
"src/cert.rs",
|
|
"src/crl/mod.rs",
|
|
"src/crl/types.rs",
|
|
"src/data/",
|
|
"src/der.rs",
|
|
"src/end_entity.rs",
|
|
"src/error.rs",
|
|
"src/rpk_entity.rs",
|
|
"src/subject_name/dns_name.rs",
|
|
"src/subject_name/ip_address.rs",
|
|
"src/subject_name/mod.rs",
|
|
"src/subject_name/name.rs",
|
|
"src/subject_name/verify.rs",
|
|
"src/name/verify.rs",
|
|
"src/name/name.rs",
|
|
"src/signed_data.rs",
|
|
"src/ring_algs.rs",
|
|
"src/alg_tests.rs",
|
|
"src/time.rs",
|
|
"src/trust_anchor.rs",
|
|
"src/x509.rs",
|
|
"src/verify_cert.rs",
|
|
"src/lib.rs",
|
|
]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "webpki_docsrs"]
|
|
|
|
[package.metadata.cargo_check_external_types]
|
|
allowed_external_types = [
|
|
"rustls_pki_types::*",
|
|
"rustls_pki_types", # To allow re-export.
|
|
]
|
|
|
|
[lib]
|
|
name = "webpki"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
alloc = ["ring?/alloc", "pki-types/alloc"]
|
|
aws-lc-rs-unstable = ["aws-lc-rs", "aws-lc-rs/unstable"]
|
|
aws-lc-rs = ["dep:aws-lc-rs", "aws-lc-rs/aws-lc-sys", "aws-lc-rs/prebuilt-nasm"]
|
|
aws-lc-rs-fips = ["dep:aws-lc-rs", "aws-lc-rs/fips"]
|
|
ring = ["dep:ring"]
|
|
std = ["alloc", "pki-types/std"]
|
|
|
|
[dependencies]
|
|
aws-lc-rs = { version = "1.14", optional = true, default-features = false }
|
|
pki-types = { package = "rustls-pki-types", version = "1.12", default-features = false }
|
|
ring = { version = "0.17", default-features = false, optional = true }
|
|
untrusted = "0.9"
|
|
|
|
[dev-dependencies]
|
|
base64 = "0.22"
|
|
bencher = "0.1.5"
|
|
bzip2 = "0.6"
|
|
once_cell = "1.17.2"
|
|
rcgen = { version = "0.14.2", default-features = false, features = ["aws_lc_rs"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
x509-parser = "0.18.1"
|
|
|
|
[profile.bench]
|
|
opt-level = 3
|
|
debug = false
|
|
rpath = false
|
|
lto = true
|
|
debug-assertions = false
|
|
codegen-units = 1
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
rpath = false
|
|
lto = true
|
|
debug-assertions = false
|
|
codegen-units = 1
|
|
|
|
[[bench]]
|
|
name = "benchmarks"
|
|
path = "benches/benchmark.rs"
|
|
harness = false
|
|
|
|
[package.metadata.cargo-semver-checks.lints]
|
|
enum_variant_marked_deprecated = "warn"
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(webpki_docsrs)'] }
|