66 releases (23 breaking)

0.27.0 Jun 27, 2025
0.26.4 Apr 29, 2025
0.26.1 Mar 28, 2025
0.22.0 Nov 26, 2024
0.3.1 Jul 19, 2021

#277 in Date and time

Download history 804/week @ 2025-03-21 628/week @ 2025-03-28 410/week @ 2025-04-04 582/week @ 2025-04-11 579/week @ 2025-04-18 736/week @ 2025-04-25 546/week @ 2025-05-02 855/week @ 2025-05-09 689/week @ 2025-05-16 492/week @ 2025-05-23 558/week @ 2025-05-30 468/week @ 2025-06-06 617/week @ 2025-06-13 533/week @ 2025-06-20 647/week @ 2025-06-27 582/week @ 2025-07-04

2,483 downloads per month
Used in 4 crates

MIT/Apache

1MB
24K 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

~6MB
~121K SLoC