scrutiny 0.1.2

A powerful, standards-compliant validation library for Rust with 50+ rules, conditional logic, and first-class axum integration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Built-in validation rule functions.
//!
//! These are pure functions called by the generated `Validate` impl.
//! You generally don't call these directly — the derive macro wires them up.
//!
//! - [`presence`] — `required`, `filled`, `accepted`, `declined`
//! - [`string`] — `alpha`, `uppercase`, `contains`, `starts_with`, length checks, etc.
//! - [`numeric`] — `min`/`max` value, `digits`, `multiple_of`, `decimal`
//! - [`mod@format`] — `email`, `url`, `uuid`, `ip`, `date`, `hex_color`, `regex`, etc.
//! - [`comparison`] — `same`, `different`, `gt`/`gte`/`lt`/`lte`, `in_list`, `distinct`

pub mod comparison;
pub mod format;
pub mod numeric;
pub mod presence;
pub mod string;