structured-cms 0.13.0

Borrowed CMS signatures, digital envelopes and timestamps with explicit providers and resource accounting
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 = "2024"
rust-version = "1.92"
name = "structured-cms"
version = "0.13.0"
build = false
include = [
    "src/**",
    "tests/**",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Borrowed CMS signatures, digital envelopes and timestamps with explicit providers and resource accounting"
readme = "README.md"
keywords = [
    "cms",
    "pkcs7",
    "signature",
    "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",
]
default = []
std = [
    "structured-asn1/std",
    "structured-pkix/std",
]

[lib]
name = "structured_cms"
path = "src/lib.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.structured-asn1]
version = "0.13.0"
default-features = false

[dependencies.structured-pkix]
version = "0.13.0"
default-features = false

[dependencies.zeroize]
version = "=1.9.1"
default-features = false

[dev-dependencies.aes]
version = "=0.9.3"
default-features = false

[dev-dependencies.aes-kw]
version = "=0.3.1"
default-features = false

[dev-dependencies.cbc]
version = "=0.2.1"
features = ["block-padding"]
default-features = false

[dev-dependencies.ed25519-dalek]
version = "=3.0.0"
features = ["fast"]
default-features = false

[dev-dependencies.hmac]
version = "=0.13.0"
default-features = false

[dev-dependencies.p256]
version = "=0.14.0"
features = ["ecdsa"]
default-features = false

[dev-dependencies.pbkdf2]
version = "=0.13.0"
features = ["hmac"]
default-features = false

[dev-dependencies.sha2]
version = "=0.11.1"
default-features = false

[dev-dependencies.sha3]
version = "=0.12.0"
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"