A Rust library for parsing and generating ASN.1 data in DER format, compatible with #![no_std] environments.
rust-asn1 is a Rust library for parsing and generating ASN.1 data using the DER (Distinguished Encoding Rules) format. It solves the problem of encoding and decoding structured data for cryptographic protocols, certificates, and network communication that require ASN.1 compliance. The library provides both low-level parsing/generation APIs and convenient derive macros for automatic serialization.
Rust developers working on cryptographic applications, X.509 certificate handling, network protocols (like LDAP, SNMP), or embedded systems that need ASN.1 DER support. It's particularly valuable for projects requiring no-std compatibility.
Developers choose rust-asn1 because it's a pure Rust implementation focused exclusively on DER compliance, offers no-std support for embedded use, and provides type-safe APIs with derive macros that reduce boilerplate. Its attention to correctness in DER encoding makes it reliable for security-sensitive applications.
A Rust ASN.1 (DER) serializer.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.