#![cfg_attr(docsrs, feature(doc_auto_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)]
#![forbid(unsafe_code)]
mod crypto;
mod encoding;
mod helper;
mod mock;
#[cfg(feature = "openapi")]
mod openapi;
#[cfg(feature = "accessor")]
pub mod accessor;
#[cfg(feature = "chatbot")]
pub mod chatbot;
#[cfg(feature = "connector")]
pub mod connector;
#[cfg(feature = "i18n")]
pub mod i18n;
#[cfg(feature = "orm")]
pub mod orm;
#[cfg(feature = "view")]
pub mod view;
pub mod application;
pub mod auth;
pub mod channel;
pub mod datetime;
pub mod error;
pub mod extension;
pub mod file;
pub mod model;
pub mod request;
pub mod response;
pub mod schedule;
pub mod state;
pub mod trace;
pub mod validation;
#[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> = once_cell::sync::Lazy<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>>;