31 releases (11 breaking)

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

#497 in Data structures

Download history 148/week @ 2023-12-23 1981/week @ 2023-12-30 1932/week @ 2024-01-06 2280/week @ 2024-01-13 2024/week @ 2024-01-20 1605/week @ 2024-01-27 1622/week @ 2024-02-03 2308/week @ 2024-02-10 1468/week @ 2024-02-17 2379/week @ 2024-02-24 2504/week @ 2024-03-02 1740/week @ 2024-03-09 1344/week @ 2024-03-16 2038/week @ 2024-03-23 1442/week @ 2024-03-30 981/week @ 2024-04-06

6,087 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