wordval-utils 1.0.3

Wordval utilities: string manipulation, date handling, masking, ID generation, validation, crypto, web helpers, collection tools, retry utilities
Documentation
//! # wordval-utils
//!
//! Wordval 工具库:字符串、日期、脱敏、ID 生成、验证、加密、Web 辅助、集合、重试。
//!
//! ## 模块导览
//!
//! - [`crypto`] — AES/RSA 加解密、哈希
//! - [`date`] — 日期时间格式化与计算
//! - [`mask`] — 手机号、邮箱、身份证等脱敏
//! - [`sid`] — UUID v4/v7、TSID、短 ID 生成
//! - [mod@str] — 字符串扩展与清理
//! - [`valid`] — 参数验证辅助
//! - [`web`] — 客户端 IP 提取、URL 解析、Web 辅助
//! - [`export`] — Excel/CSV 导入导出
//! - [`collection`] — 集合工具:分组、去重、分块、查找
//! - [`retry`] — 重试工具:固定间隔、指数退避
//! - [`serde_utils`] — 序列化/反序列化工具
//! - `xss` — XSS 净化(需启用 `xss` feature)

pub mod collection;
pub mod crypto;
pub mod date;
pub mod export;
pub mod mask;
pub mod retry;
pub mod serde_utils;
pub mod sid;
pub mod str;
pub mod valid;
pub mod web;

#[cfg(feature = "xss")]
pub mod xss;

pub use collection::CollectionExt;
pub use crypto::Crypto;
pub use date::Date;
pub use export::{Export, ExportFormat, Import};
pub use mask::Mask;
pub use retry::Retry;
pub use sid::Sid;
pub use str::StrExt;
pub use str::{
    clean_email, clean_password, clean_string_param, format_file_size, generate_invite_code,
    generate_random_alphanum, generate_random_digits, parse_json_value, sanitize_filename,
    InputCleaner,
};
pub use valid::Valid;
pub use web::extract_client_ip;
pub use web::WebExt;