[package]
name = "der"
version = "0.5.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"
repository = "https://github.com/RustCrypto/formats/tree/master/der"
categories = ["cryptography", "data-structures", "encoding", "no-std", "parsing"]
keywords = ["asn1", "crypto", "itu", "pkcs"]
readme = "README.md"
edition = "2021"
rust-version = "1.56"
[dependencies]
const-oid = { version = "0.7", optional = true, path = "../const-oid" }
crypto-bigint = { version = "0.3", optional = true, default-features = false, features = ["generic-array"] }
der_derive = { version = "0.5", optional = true, path = "derive" }
pem-rfc7468 = { version = "0.3", optional = true, path = "../pem-rfc7468" }
time = { version = "0.3", optional = true, default-features = false }
[dev-dependencies]
hex-literal = "0.3"
proptest = "1"
[features]
alloc = []
derive = ["der_derive"]
bigint = ["crypto-bigint"]
oid = ["const-oid"]
pem = ["alloc", "pem-rfc7468/alloc"]
std = ["alloc"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]