# 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.81" name = "cms" version = "0.3.0-pre.0" authors = ["RustCrypto Developers"] build = 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", "pkcs7", "signing", ] categories = [ "cryptography", "encoding", "no-std", "parser-implementations", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/RustCrypto/formats" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [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-pre.2" optional = true [dependencies.async-signature] version = "=0.6.0-pre.4" features = [ "digest", "rand_core", ] optional = true [dependencies.cbc] version = "=0.2.0-pre.2" optional = true [dependencies.cipher] version = "=0.5.0-pre.7" features = [ "alloc", "block-padding", "rand_core", ] optional = true [dependencies.const-oid] version = "0.10.0-rc.0" features = ["db"] [dependencies.der] version = "0.8.0-rc.0" features = [ "alloc", "derive", "oid", "pem", ] [dependencies.rsa] version = "=0.10.0-pre.3" optional = true [dependencies.sha1] version = "=0.11.0-pre.4" optional = true [dependencies.sha2] version = "=0.11.0-pre.4" optional = true [dependencies.sha3] version = "=0.11.0-pre.4" optional = true [dependencies.signature] version = "=2.3.0-pre.4" features = [ "digest", "alloc", ] optional = true [dependencies.spki] version = "0.8.0-rc.0" [dependencies.x509-cert] version = "=0.3.0-pre.0" features = ["pem"] default-features = false [dependencies.zeroize] version = "1.8.1" optional = true [dev-dependencies.ecdsa] version = "=0.17.0-pre.9" features = [ "digest", "pem", ] [dev-dependencies.getrandom] version = "0.2" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.p256] version = "=0.14.0-pre.2" [dev-dependencies.pem-rfc7468] version = "1.0.0-rc.1" [dev-dependencies.pkcs5] version = "0.8.0-rc.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rsa] version = "=0.10.0-pre.3" features = ["sha2"] [dev-dependencies.tokio] version = "1.40.0" features = [ "macros", "rt", ] [features] alloc = ["der/alloc"] builder = [ "aes", "async-signature", "cbc", "cipher", "rsa", "sha1", "sha2", "sha3", "signature", "std", "spki/alloc", "x509-cert/builder", "zeroize", ] pem = [ "alloc", "der/pem", ] std = [ "der/std", "spki/std", ]