cms 0.3.0-pre.2

Pure Rust implementation of the Cryptographic Message Syntax (CMS) as described in RFC 5652 and RFC 3274.
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.85"
name = "cms"
version = "0.3.0-pre.2"
authors = ["RustCrypto Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Pure Rust implementation of the Cryptographic Message Syntax (CMS) as described in RFC 5652 and RFC 3274.
"""
homepage = "https://github.com/RustCrypto/formats/tree/master/cms"
readme = "README.md"
keywords = [
    "crypto",
    "p7b",
    "pkcs7",
    "signing",
]
categories = [
    "cryptography",
    "encoding",
    "no-std",
    "parser-implementations",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/formats"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
builder = [
    "dep:aes",
    "dep:aes-kw",
    "dep:ansi-x963-kdf",
    "dep:cbc",
    "dep:cipher",
    "digest",
    "elliptic-curve/ecdh",
    "elliptic-curve/pkcs8",
    "dep:rsa",
    "dep:sha1",
    "dep:sha2",
    "dep:sha3",
    "dep:signature",
    "std",
    "spki/alloc",
    "x509-cert/builder",
    "dep:zeroize",
]
std = [
    "der/std",
    "x509-cert/std",
    "spki/std",
]

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

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

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

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

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

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

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

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

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

[dependencies.aes]
version = "0.9.0-rc.2"
optional = true

[dependencies.aes-kw]
version = "0.3.0-rc.1"
optional = true

[dependencies.ansi-x963-kdf]
version = "0.1.0-rc.1"
optional = true

[dependencies.cbc]
version = "0.2.0-rc.2"
optional = true

[dependencies.cipher]
version = "0.5.0-rc.6"
features = [
    "alloc",
    "block-padding",
    "rand_core",
]
optional = true

[dependencies.const-oid]
version = "0.10"
features = ["db"]

[dependencies.der]
version = "0.8.0-rc.10"
features = [
    "ber",
    "derive",
    "oid",
]

[dependencies.digest]
version = "0.11.0-rc.9"
optional = true

[dependencies.elliptic-curve]
version = "0.14.0-rc.24"
optional = true

[dependencies.rsa]
version = "0.10.0-rc.14"
optional = true

[dependencies.sha1]
version = "0.11.0-rc.4"
optional = true

[dependencies.sha2]
version = "0.11.0-rc.4"
optional = true

[dependencies.sha3]
version = "0.11.0-rc.4"
optional = true

[dependencies.signature]
version = "3.0.0-rc.9"
features = [
    "digest",
    "alloc",
]
optional = true

[dependencies.spki]
version = "0.8.0-rc.4"

[dependencies.x509-cert]
version = "0.3.0-rc.4"
default-features = false

[dependencies.zeroize]
version = "1.8.1"
optional = true

[dev-dependencies.aes]
version = "0.9.0-rc.2"

[dev-dependencies.ecdsa]
version = "0.17.0-rc.14"
features = [
    "digest",
    "pem",
]

[dev-dependencies.getrandom]
version = "0.4.0-rc.0"

[dev-dependencies.hex-literal]
version = "1"

[dev-dependencies.p256]
version = "0.14.0-rc.6"

[dev-dependencies.pbkdf2]
version = "0.13.0-rc.6"

[dev-dependencies.pem-rfc7468]
version = "1"

[dev-dependencies.pkcs5]
version = "0.8.0-rc.13"

[dev-dependencies.rand]
version = "0.10.0-rc.7"

[dev-dependencies.rsa]
version = "0.10.0-rc.14"
features = ["sha2"]

[dev-dependencies.tokio]
version = "1.45.1"
features = [
    "macros",
    "rt",
]

[dev-dependencies.x509-cert]
version = "0.3.0-rc.4"
features = ["pem"]