23 unstable releases (5 breaking)

0.9.1 May 11, 2022
0.8.7 Nov 18, 2021
0.6.0 Jul 17, 2021

#571 in Procedural macros

Download history 27100/week @ 2022-01-30 27163/week @ 2022-02-06 25460/week @ 2022-02-13 24344/week @ 2022-02-20 26287/week @ 2022-02-27 24888/week @ 2022-03-06 26364/week @ 2022-03-13 26221/week @ 2022-03-20 25521/week @ 2022-03-27 25908/week @ 2022-04-03 25050/week @ 2022-04-10 26990/week @ 2022-04-17 26556/week @ 2022-04-24 25181/week @ 2022-05-01 27897/week @ 2022-05-08 26314/week @ 2022-05-15

107,474 downloads per month
Used in asn1

BSD-3-Clause

18KB
449 lines

rust-asn1

Dependency Status Documentation

This is a Rust library for parsing and generating ASN.1 data (DER only).

Installation

Add asn1 to the [dependencies] section of your Cargo.toml:

[dependencies]
asn1 = "0.6"

Builds on Rust 1.41.0 and newer, but versions older than 1.51.0 require disabling the const-generics feature, which allows using the Implicit and Explicit types.

rust-asn1 is compatible with #![no_std] environments:

asn1 = { version = "0.6", default-features = false }

Dependencies

~250–670KB
~16K SLoC