loveyu-kit 0.2.0

面向 Axum 项目的可组合 API 工具库
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! 面向 Axum 应用的可组合 API 工具库。
//!
//! 当前提供统一响应、错误处理、Validify 请求校验、分页、请求级结构化诊断日志
//! 、可扩展连接生命周期管理和可选的企业微信机器人客户端。
//! 各能力通过 Cargo features 隔离,业务项目可以按需组合,不需要接受项目专属约定。

#![forbid(unsafe_code)]

#[cfg(feature = "connection")]
pub mod connection;
#[cfg(feature = "wecom")]
pub mod messaging;
#[cfg(feature = "logging")]
pub mod observability;
pub mod prelude;
#[cfg(any(feature = "response", feature = "validation"))]
pub mod web;