-
Notifications
You must be signed in to change notification settings - Fork 174
Expand file tree
/
Copy pathCargo.toml
More file actions
76 lines (71 loc) · 2.41 KB
/
Cargo.toml
File metadata and controls
76 lines (71 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[package]
name = "cms"
version = "0.3.0-pre.2"
description = """
Pure Rust implementation of the Cryptographic Message Syntax (CMS) as described in RFC 5652 and RFC 3274.
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
homepage = "https://github.com/RustCrypto/formats/tree/master/cms"
repository = "https://github.com/RustCrypto/formats"
categories = ["cryptography", "encoding", "no-std", "parser-implementations"]
keywords = ["crypto", "p7b", "pkcs7", "signing"]
readme = "README.md"
edition = "2024"
rust-version = "1.85"
[dependencies]
const-oid = { version = "0.10", features = ["db"] }
der = { version = "0.8.0-rc.10", features = ["ber", "derive", "oid"] }
spki = "0.8.0-rc.4"
x509-cert = { version = "0.3.0-rc.4", default-features = false }
# optional dependencies
aes = { version = "0.9.0-rc.4", optional = true }
aes-kw = { version = "0.3.0-rc.2", optional = true }
ansi-x963-kdf = { version = "0.1.0-rc.2", optional = true }
cbc = { version = "0.2.0-rc.3", optional = true }
cipher = { version = "0.5.0-rc.8", features = ["alloc", "block-padding", "rand_core"], optional = true }
digest = { version = "0.11.0-rc.11", optional = true }
elliptic-curve = { version = "0.14.0-rc.28", optional = true }
rsa = { version = "0.10.0-rc.15", optional = true }
sha1 = { version = "0.11.0-rc.5", optional = true }
sha2 = { version = "0.11.0-rc.5", optional = true }
sha3 = { version = "0.11.0-rc.7", optional = true }
signature = { version = "3.0.0-rc.10", features = ["digest", "alloc"], optional = true }
zeroize = { version = "1.8.1", optional = true }
[dev-dependencies]
aes = "0.9.0-rc.2"
getrandom = "0.4"
hex-literal = "1"
pem-rfc7468 = "1"
pkcs5 = "0.8.0-rc.13"
pbkdf2 = "0.13.0-rc.9"
rand = "0.10"
rsa = { version = "0.10.0-rc.15", features = ["sha2"] }
ecdsa = { version = "0.17.0-rc.16", features = ["digest", "pem"] }
p256 = "0.14.0-rc.7"
tokio = { version = "1.45.1", features = ["macros", "rt"] }
x509-cert = { version = "0.3.0-rc.4", features = ["pem"] }
[features]
std = ["der/std", "x509-cert/std", "spki/std"]
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"
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]