feat: update garde to 0.20.0

This commit is contained in:
gengteng
2024-07-12 20:31:17 +08:00
parent a4395e091d
commit f8c1daeeb0
21 changed files with 32 additions and 32 deletions

View File

@@ -54,7 +54,7 @@
//! }
//!
//! async fn handler(Garde(Toml(parameter)): Garde<Toml<Parameter>>) {
//! assert!(parameter.validate(&()).is_ok());
//! assert!(parameter.validate_with(&()).is_ok());
//! // Support automatic dereferencing
//! println!("v0 = {}, v1 = {}", parameter.v0, parameter.v1);
//! }