-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (51 loc) · 1.97 KB
/
Cargo.toml
File metadata and controls
57 lines (51 loc) · 1.97 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
[package]
name = "x509-cert"
version = "0.3.0-rc.2"
description = """
Pure Rust implementation of the X.509 Public Key Infrastructure Certificate
format as described in RFC 5280
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
homepage = "https://github.com/RustCrypto/formats/tree/master/x509-cert"
repository = "https://github.com/RustCrypto/formats"
categories = ["cryptography", "data-structures", "encoding", "no-std"]
keywords = ["crypto"]
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 = ["alloc", "derive", "flagset", "oid"] }
spki = { version = "0.8.0-rc.4", features = ["alloc"] }
# optional dependencies
arbitrary = { version = "1.4", features = ["derive"], optional = true }
digest = { version = "0.11.0-rc.4", optional = true, default-features = false }
sha1 = { version = "0.11.0-rc.3", default-features = false, optional = true }
signature = { version = "3.0.0-rc.5", features = ["rand_core"], optional = true }
tls_codec = { version = "0.4", default-features = false, features = ["derive"], optional = true }
[dev-dependencies]
hex-literal = "1"
rand = "0.10.0-rc.5"
rsa = { version = "0.10.0-rc.11", features = ["sha2"] }
ecdsa = { version = "0.17.0-rc.9", features = ["digest", "pem"] }
p256 = "0.14.0-rc.2"
rstest = "0.26"
sha2 = { version = "0.11.0-rc.3", features = ["oid"] }
tempfile = "3.5"
tokio = { version = "1.45", features = ["macros", "rt"] }
x509-cert-test-support = { path = "./test-support" }
[features]
default = ["pem", "std"]
std = ["der/std", "spki/std", "tls_codec?/std"]
arbitrary = ["dep:arbitrary", "std", "der/arbitrary", "spki/arbitrary"]
builder = ["dep:sha1", "signature"]
digest = ["dep:digest", "spki/digest"]
hazmat = []
pem = ["der/pem", "spki/pem"]
sct = ["dep:tls_codec"]
fingerprint = ["spki/fingerprint"]
base64 = ["spki/base64"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]