-
Notifications
You must be signed in to change notification settings - Fork 174
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (42 loc) · 1.62 KB
/
Cargo.toml
File metadata and controls
47 lines (42 loc) · 1.62 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
[package]
name = "der"
version = "0.8.0-rc.1"
description = """
Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules
(DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690 with
full support for heapless no_std targets
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
homepage = "https://github.com/RustCrypto/formats/tree/master/der"
repository = "https://github.com/RustCrypto/formats"
categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"]
keywords = ["asn1", "crypto", "itu", "pkcs"]
readme = "README.md"
edition = "2024"
rust-version = "1.85"
[dependencies]
arbitrary = { version = "1.4", features = ["derive"], optional = true }
bytes = { version = "1", optional = true, default-features = false }
const-oid = { version = "0.10", optional = true }
der_derive = { version = "0.8.0-rc.0", optional = true }
flagset = { version = "0.4.7", optional = true }
pem-rfc7468 = { version = "1.0.0-rc.1", optional = true, features = ["alloc"] }
time = { version = "0.3.4", optional = true, default-features = false }
zeroize = { version = "1.8", optional = true, default-features = false }
heapless = { version = "0.8", optional = true, default-features = false }
[dev-dependencies]
hex-literal = "1"
proptest = "1"
[features]
alloc = ["zeroize?/alloc"]
std = ["alloc"]
arbitrary = ["dep:arbitrary", "const-oid?/arbitrary", "std"]
bytes = ["dep:bytes", "alloc"]
derive = ["dep:der_derive"]
oid = ["dep:const-oid"]
pem = ["dep:pem-rfc7468", "alloc", "zeroize"]
real = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]