1
2
3
4
5
6
7
8
9
10
11
pub mod error;
pub mod extension;
pub mod request;

pub type JsonValue = serde_json::Value;
pub type JsonMap = serde_json::Map<String, JsonValue>;
/// Uuid 启用了 "fast-rng", "serde", "v4",  "v7" features
pub type Uuid = uuid::Uuid;

/// 自定义的优化分配后的字符串,它是一个可以借用任何静态生命周期的字符串类型.
pub type SharedString = std::borrow::Cow<'static, str>;