31 releases (11 breaking)

new 0.14.0 Apr 5, 2024
0.13.1 Mar 21, 2024
0.12.6 Mar 9, 2024
0.12.4 Dec 4, 2023
0.3.1 Jul 19, 2021

#493 in Data structures

Download history 399/week @ 2023-12-20 505/week @ 2023-12-27 2539/week @ 2024-01-03 1762/week @ 2024-01-10 2499/week @ 2024-01-17 1653/week @ 2024-01-24 1762/week @ 2024-01-31 1641/week @ 2024-02-07 2034/week @ 2024-02-14 1732/week @ 2024-02-21 3151/week @ 2024-02-28 1679/week @ 2024-03-06 1363/week @ 2024-03-13 1984/week @ 2024-03-20 1610/week @ 2024-03-27 1195/week @ 2024-04-03

6,354 downloads per month
Used in 2 crates

MIT/Apache

555KB
13K 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

~9.5MB
~195K SLoC