#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc = include_str!("../README.md")]
#![doc(html_favicon_url = "https://zino.cc/assets/zino-logo.png")]
#![doc(html_logo_url = "https://zino.cc/assets/zino-logo.svg")]
#![allow(async_fn_in_trait)]
mod helper;
mod mock;
pub mod application;
pub mod crypto;
pub mod datetime;
pub mod encoding;
pub mod error;
pub mod extension;
pub mod model;
pub mod schedule;
pub mod state;
pub mod trace;
pub mod validation;
#[cfg(feature = "i18n")]
pub mod i18n;
#[cfg(feature = "i18n")]
#[doc(no_inline)]
pub use fluent::fluent_args;
#[doc(no_inline)]
pub use serde_json::json;
pub type JsonValue = serde_json::Value;
pub type Map = serde_json::Map<String, JsonValue>;
pub type AvroValue = apache_avro::types::Value;
pub type Record = Vec<(String, AvroValue)>;
pub type TomlValue = toml::Value;
pub type Uuid = uuid::Uuid;
pub type Decimal = rust_decimal::Decimal;
pub type LazyLock<T> = std::sync::LazyLock<T>;
pub type SharedString = std::borrow::Cow<'static, str>;
pub type BoxError = Box<dyn std::error::Error + Sync + Send + 'static>;
pub type BoxFuture<'a, T = ()> =
std::pin::Pin<Box<dyn std::future::Future<Output = T> + Send + 'a>>;