36 releases (13 breaking)

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

#492 in Data structures

Download history 1313/week @ 2024-03-28 1329/week @ 2024-04-04 1497/week @ 2024-04-11 1999/week @ 2024-04-18 3238/week @ 2024-04-25 2275/week @ 2024-05-02 1169/week @ 2024-05-09 2121/week @ 2024-05-16 1716/week @ 2024-05-23 1444/week @ 2024-05-30 1608/week @ 2024-06-06 1900/week @ 2024-06-13 2240/week @ 2024-06-20 1664/week @ 2024-06-27 1153/week @ 2024-07-04 1090/week @ 2024-07-11

6,570 downloads per month
Used in 2 crates

MIT/Apache

715KB
17K 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

~6.5MB
~128K SLoC