Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "der"
3 version = "0.8.1"
4 description = """
5 Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules
6 (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690 with
7 full support for heapless `no_std`/`no_alloc` targets
8 """
9 authors = ["RustCrypto Developers"]
10 license = "Apache-2.0 OR MIT"
11 homepage = "https://github.com/RustCrypto/formats/tree/master/der"
12 repository = "https://github.com/RustCrypto/formats"
13 categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"]
14 keywords = ["asn1", "crypto", "no-alloc", "itu", "pkcs"]
15 readme = "README.md"
16 edition = "2024"
17 rust-version = "1.85"
18
19 [dependencies]
20 arbitrary = { version = "1.4.2", features = ["derive"], optional = true }
21 derive_arbitrary = { version = "1.4.2", optional = true } # Fixup for minimal-versions
22 bytes = { version = "1", optional = true, default-features = false }
23 const-oid = { version = "0.10", optional = true }
24 der_derive = { version = "0.8", optional = true }
25 heapless = { version = "0.9", optional = true, default-features = false }
26 flagset = { version = "0.4.7", optional = true }
27 pem-rfc7468 = { version = "1", optional = true, features = ["alloc"] }
28 time = { version = "0.3.4", optional = true, default-features = false }
29 zeroize = { version = "1.8", optional = true, default-features = false }
30
31 [dev-dependencies]
32 hex-literal = "1"
33 [target.'cfg(any(unix, windows))'.dev-dependencies]
34 proptest = "1.10"
35
36 [features]
37 alloc = ["zeroize?/alloc"]
38 std = ["alloc"]
39
40 arbitrary = ["dep:arbitrary", "dep:derive_arbitrary", "const-oid?/arbitrary", "std"]
41 ber = []
42 bytes = ["dep:bytes", "alloc"]
43 derive = ["dep:der_derive"]
44 oid = ["dep:const-oid"]
45 pem = ["dep:pem-rfc7468", "alloc", "zeroize"]
46 real = []
47
48 [lints]
49 workspace = true
50
51 [package.metadata.docs.rs]
52 all-features = true
53 rustdoc-args = ["--cfg", "docsrs"]