• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "der"
3version = "0.7.8"
4description = """
5Pure 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
7full support for heapless no_std targets
8"""
9authors = ["RustCrypto Developers"]
10license = "Apache-2.0 OR MIT"
11repository = "https://github.com/RustCrypto/formats/tree/master/der"
12categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"]
13keywords = ["asn1", "crypto", "itu", "pkcs"]
14readme = "README.md"
15edition = "2021"
16rust-version = "1.65"
17
18[dependencies]
19arbitrary = { version = "1.3", features = ["derive"], optional = true }
20bytes = { version = "1", optional = true, default-features = false }
21const-oid = { version = "0.9.2", optional = true }
22der_derive = { version = "0.7.2", optional = true }
23flagset = { version = "0.4.3", optional = true }
24pem-rfc7468 = { version = "0.7", optional = true, features = ["alloc"] }
25time = { version = "0.3.4", optional = true, default-features = false }
26zeroize = { version = "1.5", optional = true, default-features = false }
27
28[dev-dependencies]
29hex-literal = "0.4.1"
30proptest = "1"
31
32[features]
33alloc = ["zeroize?/alloc"]
34std = ["alloc"]
35
36arbitrary = ["dep:arbitrary", "const-oid?/arbitrary", "std"]
37bytes = ["dep:bytes", "alloc"]
38derive = ["dep:der_derive"]
39oid = ["dep:const-oid"]
40pem = ["dep:pem-rfc7468", "alloc", "zeroize"]
41real = []
42
43[package.metadata.docs.rs]
44all-features = true
45rustdoc-args = ["--cfg", "docsrs"]
46