cjtoolkit_structured_validator/
lib.rs

1//! A library for validating structured data.
2//!
3//! # Description
4//!
5//! A Validation library designed to be extendable with the use of Rust's extension trait, for example,
6//! you can bring your own i18n by implementing extension trait against `LocaleData` and `ValidateErrorStore`
7//!
8//! Here are the examples of where Poem's i18n and Dioxus's i81n are being used.
9//!
10//! <https://github.com/CJ-Jackson/animal_api_again/blob/main/backend_api/src/common/locale/mod.rs>  
11//! <https://github.com/CJ-Jackson/animal_api_again/blob/main/ui/src/common/locale/mod.rs>
12//!
13//! You can also extend `Name` and hook in your own RegExp of your choosing, or you could use your
14//! own Post Code Validator; the possibility is endless.
15
16#![warn(clippy::unwrap_used)]
17#![cfg_attr(docsrs, feature(doc_auto_cfg))]
18
19pub mod base;
20pub mod common;
21pub mod types;