Skip to content

Commit

Permalink
doc: more available rules
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed Jun 11, 2024
1 parent fc741fd commit a1c2b3d
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,20 @@
//! input data needs implementation `serde::Serialize`, and if you want to modify data,
//! it should be also implementation `serde::Deserialize`
//!
//! ## Available Rule
//! ## Available Rules
//!
//! - [`Compare`]
//! - [`Confirm`]
//! - [`Contains`]
//! - [`Email`]
//! - [`EndWith`]
//! - [`Length`]
//! - [`Not`]
//! - [`Range`]
//! - [`Regex`]
//! - [`Required`]
//! - [`StartWith`]
//! - [`Confirm`]
//! - [`Trim`]
//! - [`Range`]
//! - customizable
//!
//! To get started using all of Valitron's optional rule, add this to your
Expand All @@ -85,10 +92,17 @@
//! [`Rule`]: crate::Rule
//! [`Message`]: crate::available::Message
//! [`Required`]: crate::available::required
//! [`Email`]: crate::available::email
//! [`Compare`]: crate::available::compare
//! [`Contains`]: crate::available::contains
//! [`StartWith`]: crate::available::start_with
//! [`EndWith`]: crate::available::end_with
//! [`Confirm`]: crate::available::confirm
//! [`Trim`]: crate::available::trim
//! [`Length`]: crate::available::length
//! [`Not`]: crate::available::not
//! [`Range`]: crate::available::range
//! [`Regex`]: crate::available::regex
//! [string]: crate::register::string

#![cfg_attr(test, allow(unused_imports, dead_code))]
Expand Down

0 comments on commit a1c2b3d

Please sign in to comment.