axum_serde_valid
This crate is a Rust library for providing validation mechanism to axum with serde_valid crate.
More information about this crate can be found in the crate documentation.
Installation
This crate works with Cargo and can be found on crates.io with a Cargo.toml like:
[]
= "0.6"
= { = "13", = ["jsonschema"] }
= "^0.16"
= "0.8"
Feature Flags
jsonschema
- provides jsonschema validation.aide
- support aide.
Example
use ;
use Json;
use Deserialize;
let app = new.route;
License: MIT