51 releases (17 breaking)

new 0.20.2 Oct 18, 2024
0.20.0 Sep 30, 2024
0.16.0 Jul 17, 2024
0.13.1 Mar 21, 2024
0.3.1 Jul 19, 2021

#490 in Data structures

Download history 1152/week @ 2024-06-29 1575/week @ 2024-07-06 1782/week @ 2024-07-13 2316/week @ 2024-07-20 1500/week @ 2024-07-27 1299/week @ 2024-08-03 1231/week @ 2024-08-10 2291/week @ 2024-08-17 1845/week @ 2024-08-24 1673/week @ 2024-08-31 2204/week @ 2024-09-07 1555/week @ 2024-09-14 2215/week @ 2024-09-21 3051/week @ 2024-09-28 2124/week @ 2024-10-05 1471/week @ 2024-10-12

9,048 downloads per month
Used in 3 crates

MIT/Apache

785KB
18K 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

~8MB
~143K SLoC