mod host;
mod host_funcs;
mod locator;
mod virtual_path;
pub use anyhow::anyhow;
pub use host::*;
pub use host_funcs::*;
pub use locator::*;
pub use virtual_path::*;
#[macro_export]
macro_rules! api_struct {
($struct:item) => {
#[derive(Clone, Debug, Default, serde::Deserialize, PartialEq, serde::Serialize)]
#[serde(default)]
$struct
};
}
#[macro_export]
macro_rules! api_enum {
($struct:item) => {
#[derive(Clone, Debug, serde::Deserialize, PartialEq, serde::Serialize)]
$struct
};
}
api_struct!(
pub struct EmptyInput {}
);
pub type AnyResult<T> = anyhow::Result<T>;