minicbor 2.2.1

A small CBOR codec suitable for no_std environments.
Documentation
#[cfg(feature = "std")]
#[doc(hidden)]
#[macro_export]
macro_rules! __minicbor_cfg {
    (
        'std {$($std:tt)*}
        'alloc {$($alloc:tt)*}
        'otherwise {$($otherwise:tt)*}
    ) => {
        $($std)*
    };
}

#[cfg(all(feature = "alloc", not(feature = "std")))]
#[doc(hidden)]
#[macro_export]
macro_rules! __minicbor_cfg {
    (
        'std {$($std:tt)*}
        'alloc {$($alloc:tt)*}
        'otherwise {$($otherwise:tt)*}
    ) => {
        $($alloc)*
    };
}

#[cfg(all(not(feature = "alloc"), not(feature = "std")))]
#[doc(hidden)]
#[macro_export]
macro_rules! __minicbor_cfg {
    (
        'std {$($std:tt)*}
        'alloc {$($alloc:tt)*}
        'otherwise {$($otherwise:tt)*}
    ) => {
        $($otherwise)*
    };
}