1#![cfg_attr(not(any(test, feature = "std")), no_std)]
5
6#[cfg(feature = "alloc")]
7extern crate alloc;
8
9#[cfg(any(feature = "testing", test))]
10#[macro_use]
11pub mod testing;
12
13#[macro_use]
14pub mod zerocopy;
15
16pub mod decoder;
17pub mod encoder;
18pub mod unaligned;
19
20pub use decoder::{
21 CheckedRange, DecoderBuffer, DecoderBufferMut, DecoderBufferMutResult, DecoderBufferResult,
22 DecoderError, DecoderParameterizedValue, DecoderParameterizedValueMut, DecoderValue,
23 DecoderValueMut,
24};
25pub use encoder::{Encoder, EncoderBuffer, EncoderLenEstimator, EncoderValue};
26pub use unaligned::*;