[package]
edition = "2024"
rust-version = "1.92"
name = "structured-pades"
version = "0.21.3"
build = false
include = [
"src/**",
"tests/**",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Original-source PDF signatures and provider-neutral PAdES baseline validation"
readme = "README.md"
keywords = [
"pades",
"pdf",
"signature",
"timestamp",
"no-std",
]
categories = [
"cryptography",
"parser-implementations",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/structured-world/signature-primitives"
[features]
alloc = [
"structured-asn1/alloc",
"structured-pkix/alloc",
"structured-cms/alloc",
"structured-ltv/alloc",
"structured-cades/alloc",
]
default = []
interop-tests = ["std"]
std = [
"structured-asn1/std",
"structured-pkix/std",
"structured-cms/std",
"structured-ltv/std",
"structured-cades/std",
]
[lib]
name = "structured_pades"
path = "src/lib.rs"
[[test]]
name = "bytes"
path = "tests/bytes.rs"
[[test]]
name = "core_errors"
path = "tests/core_errors.rs"
[[test]]
name = "material"
path = "tests/material.rs"
[[test]]
name = "native"
path = "tests/native.rs"
[[test]]
name = "range"
path = "tests/range.rs"
[[test]]
name = "syntax"
path = "tests/syntax.rs"
[dependencies.structured-asn1]
version = "0.21.3"
default-features = false
[dependencies.structured-cades]
version = "0.21.3"
default-features = false
[dependencies.structured-cms]
version = "0.21.3"
default-features = false
[dependencies.structured-ltv]
version = "0.21.3"
default-features = false
[dependencies.structured-pkix]
version = "0.21.3"
default-features = false
[dev-dependencies.p256]
version = "0.14.0"
features = ["ecdsa"]
default-features = false
[dev-dependencies.sha1]
version = "0.11"
default-features = false
[dev-dependencies.sha2]
version = "0.11.1"
default-features = false
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"