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
9,048 downloads per month
Used in 3 crates
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