#![doc = include_str!("../README.md")]
#![cfg_attr(all(not(feature = "std"), not(test)), no_std)]
#![forbid(unsafe_code)]
#[cfg(feature = "alloc")]
#[macro_use]
extern crate alloc;
macro_rules! alloc_only {
($($item:item)*) => {
$(
#[cfg(feature = "alloc")]
$item
)*
};
}
pub mod apdu;
pub mod constructed;
#[cfg(feature = "alloc")]
pub mod npdu;
pub mod primitives;
#[cfg(feature = "alloc")]
pub mod segmentation;
pub mod sink;
pub mod tags;
#[cfg(all(test, feature = "alloc"))]
mod tags_canonical_tests;