[package]
edition = "2021"
rust-version = "1.73"
name = "pkix-path"
version = "0.2.0"
authors = ["Mark Atwood <mark@reviewcommit.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RFC 5280 X.509 certificate path validation — pure Rust, no_std"
readme = "README.md"
keywords = [
"x509",
"certificate",
"pki",
"pkix",
"no-std",
]
categories = [
"cryptography",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/MarkAtwood/crate-pkix"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = [
"rsa",
"p256",
]
p256 = ["dep:p256"]
rsa = [
"dep:rsa",
"dep:sha2",
]
rustcrypto = [
"rsa",
"p256",
]
std = [
"der/std",
"spki/std",
"x509-cert/std",
"signature/std",
]
[lib]
name = "pkix_path"
path = "src/lib.rs"
[[test]]
name = "anchor_nc"
path = "tests/anchor_nc.rs"
[[test]]
name = "pkits_4_13"
path = "tests/pkits_4_13.rs"
[[test]]
name = "pkits_4_1_4_2"
path = "tests/pkits_4_1_4_2.rs"
[[test]]
name = "pkits_4_3"
path = "tests/pkits_4_3.rs"
[[test]]
name = "pkits_4_6_4_7"
path = "tests/pkits_4_6_4_7.rs"
[[test]]
name = "pkits_helper"
path = "tests/pkits_helper.rs"
[[test]]
name = "pkits_policy"
path = "tests/pkits_policy.rs"
[[test]]
name = "pkits_smoke"
path = "tests/pkits_smoke.rs"
[dependencies.der]
version = "0.7"
[dependencies.p256]
version = "0.13"
features = [
"ecdsa",
"pkcs8",
]
optional = true
default-features = false
[dependencies.rsa]
version = "0.9"
optional = true
default-features = false
[dependencies.sha2]
version = "0.10"
features = ["oid"]
optional = true
default-features = false
[dependencies.signature]
version = "2"
[dependencies.spki]
version = "0.7"
[dependencies.x509-cert]
version = "0.2"
[dev-dependencies]