1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.65" 15name = "der" 16version = "0.7.9" 17authors = ["RustCrypto Developers"] 18description = """ 19Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules 20(DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690 with 21full support for heapless no_std targets 22""" 23readme = "README.md" 24keywords = [ 25 "asn1", 26 "crypto", 27 "itu", 28 "pkcs", 29] 30categories = [ 31 "cryptography", 32 "data-structures", 33 "encoding", 34 "no-std", 35 "parser-implementations", 36] 37license = "Apache-2.0 OR MIT" 38repository = "https://github.com/RustCrypto/formats/tree/master/der" 39 40[package.metadata.docs.rs] 41all-features = true 42rustdoc-args = [ 43 "--cfg", 44 "docsrs", 45] 46 47[dependencies.arbitrary] 48version = "1.3" 49features = ["derive"] 50optional = true 51 52[dependencies.bytes] 53version = "1" 54optional = true 55default-features = false 56 57[dependencies.const-oid] 58version = "0.9.2" 59optional = true 60 61[dependencies.der_derive] 62version = "0.7.2" 63optional = true 64 65[dependencies.flagset] 66version = "0.4.3" 67optional = true 68 69[dependencies.pem-rfc7468] 70version = "0.7" 71features = ["alloc"] 72optional = true 73 74[dependencies.time] 75version = "0.3.4" 76optional = true 77default-features = false 78 79[dependencies.zeroize] 80version = "1.5" 81optional = true 82default-features = false 83 84[dev-dependencies.hex-literal] 85version = "0.4.1" 86 87[dev-dependencies.proptest] 88version = "1" 89 90[features] 91alloc = ["zeroize?/alloc"] 92arbitrary = [ 93 "dep:arbitrary", 94 "const-oid?/arbitrary", 95 "std", 96] 97bytes = [ 98 "dep:bytes", 99 "alloc", 100] 101derive = ["dep:der_derive"] 102oid = ["dep:const-oid"] 103pem = [ 104 "dep:pem-rfc7468", 105 "alloc", 106 "zeroize", 107] 108real = [] 109std = ["alloc"] 110