32 releases (12 breaking)

new 0.15.0 May 17, 2024
0.13.1 Mar 21, 2024
0.12.4 Dec 4, 2023
0.12.3 Nov 25, 2023
0.3.1 Jul 19, 2021

#495 in Data structures

Download history 1475/week @ 2024-01-26 1693/week @ 2024-02-02 2205/week @ 2024-02-09 1396/week @ 2024-02-16 2236/week @ 2024-02-23 2763/week @ 2024-03-01 1688/week @ 2024-03-08 1372/week @ 2024-03-15 2067/week @ 2024-03-22 1281/week @ 2024-03-29 1392/week @ 2024-04-05 1480/week @ 2024-04-12 2289/week @ 2024-04-19 3423/week @ 2024-04-26 1751/week @ 2024-05-03 901/week @ 2024-05-10

8,642 downloads per month
Used in 2 crates

MIT/Apache

690KB
16K SLoC

Structure of Management Information

rasn-smi is an implementation of the ASN.1 data types from the IETF RFCs 1155 and 2578 on the Structure of Management Information the rasn codec framework. These definitions are both transport layer agnostic, and encoding rule agnostic.

// Replace with your data.
let data: &[u8] = &[];
// Decode object from BER.
let object: rasn_smi::v2::ObjectSyntax = rasn::ber::decode(&data).unwrap();
// Encode it back into DER
let data = rasn::der::encode(&object).unwrap();

Dependencies

~10MB
~198K SLoC