pkix-path 0.3.1

RFC 5280 X.509 certificate path validation — pure Rust, no_std
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.73"
name = "pkix-path"
version = "0.3.1"
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"]
p384 = [
    "dep:p384",
    "dep:sha2",
]
rsa = [
    "dep:rsa",
    "dep:sha2",
]
rustcrypto = [
    "rsa",
    "p256",
    "p384",
]
serde = [
    "dep:serde",
    "dep:base64ct",
]
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_5"
path = "tests/pkits_4_5.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"

[[test]]
name = "required_leaf_policy_dn_pkits"
path = "tests/required_leaf_policy_dn_pkits.rs"

[[test]]
name = "serde_round_trip"
path = "tests/serde_round_trip.rs"

[dependencies.base64ct]
version = "1"
features = ["alloc"]
optional = true
default-features = false

[dependencies.der]
version = "0.7"

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "pkcs8",
]
optional = true
default-features = false

[dependencies.p384]
version = "0.13"
features = [
    "ecdsa",
    "pkcs8",
]
optional = true
default-features = false

[dependencies.rsa]
version = "0.9"
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = [
    "derive",
    "alloc",
]
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.serde]
version = "1"
features = [
    "derive",
    "alloc",
]
default-features = false

[dev-dependencies.serde_json]
version = "1"