#![doc(
html_favicon_url = "https://raw.githubusercontent.com/meilisearch/heed/main/assets/heed-pigeon.ico?raw=true"
)]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/meilisearch/heed/main/assets/heed-pigeon-logo.png?raw=true"
)]
#![warn(missing_docs)]
mod cow_slice;
mod cow_type;
mod integer;
mod lazy_decode;
mod owned_slice;
mod owned_type;
mod str;
mod unaligned_slice;
mod unaligned_type;
mod unit;
#[cfg(feature = "serde-bincode")]
mod serde_bincode;
#[cfg(feature = "serde-json")]
mod serde_json;
#[cfg(feature = "serde-rmp")]
mod serde_rmp;
use heed_traits::BoxedError;
pub use self::cow_slice::CowSlice;
pub use self::cow_type::CowType;
pub use self::integer::*;
pub use self::lazy_decode::{Lazy, LazyDecode};
pub use self::owned_slice::OwnedSlice;
pub use self::owned_type::OwnedType;
pub use self::str::Str;
pub use self::unaligned_slice::UnalignedSlice;
pub use self::unaligned_type::UnalignedType;
pub use self::unit::Unit;
pub type ByteSlice = UnalignedSlice<u8>;
pub struct DecodeIgnore;
impl heed_traits::BytesDecode<'_> for DecodeIgnore {
type DItem = ();
fn bytes_decode(_bytes: &[u8]) -> Result<Self::DItem, BoxedError> {
Ok(())
}
}
#[cfg(feature = "serde-bincode")]
pub use self::serde_bincode::SerdeBincode;
#[cfg(feature = "serde-json")]
pub use self::serde_json::SerdeJson;
#[cfg(feature = "serde-rmp")]
pub use self::serde_rmp::SerdeRmp;