//! Data structures and helper functions for flora's data archiving functionality
//! Note: This crate does not deal with anything directly related to search or DB operations.

/// Module for documents to be stored in the flora archive.
pub mod document;

pub mod record;

#[cfg(feature = "postcard")]
pub use postcard;
#[cfg(feature = "serde")]
pub use serde;

#[cfg(feature = "marshal")]
pub mod marshal;

pub use document::Document;

#[cfg(feature = "marshal")]
pub use marshal::Marshal;

pub use record::{
    RawRecord, Record, RecordMeta, RecordParams, ToRecord, datetime::ClientDateTimeRecord,
};
