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.57" 15name = "der" 16version = "0.6.1" 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.const-oid] 48version = "0.9" 49optional = true 50 51[dependencies.der_derive] 52version = "0.6" 53optional = true 54 55[dependencies.flagset] 56version = "0.4.3" 57optional = true 58 59[dependencies.pem-rfc7468] 60version = "0.6" 61optional = true 62 63[dependencies.time] 64version = "0.3.4" 65optional = true 66default-features = false 67 68[dependencies.zeroize] 69version = "1.5" 70features = ["alloc"] 71optional = true 72default-features = false 73 74[dev-dependencies.hex-literal] 75version = "0.3.3" 76 77[dev-dependencies.proptest] 78version = "1" 79 80[features] 81alloc = [] 82derive = ["der_derive"] 83oid = ["const-oid"] 84pem = [ 85 "alloc", 86 "pem-rfc7468/alloc", 87 "zeroize", 88] 89real = [] 90std = ["alloc"] 91