1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#![doc = include_str!("../README.md")]
#![no_std]
extern crate alloc;
pub mod de;
pub mod enc;
pub mod types;
// Data Formats
pub mod ber;
pub mod cer;
pub mod der;
#[doc(inline)]
pub use self::{
de::{Decode, Decoder},
enc::{Encode, Encoder},
types::{AsnType, Tag, TagTree},
};
/// A prelude containing the codec traits and all types defined in the [`types`]
/// module.
pub mod prelude {
pub use crate::{
de::{Decode, Decoder},
enc::{Encode, Encoder},
types::*,
};
}