rydantic 0.6.0

Type-driven validation, JSON Schema, Cap'n Proto, Axum and SQLx models for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use rydantic::Model;

#[derive(Model)]
struct Broken {
    #[model(rename = "value")]
    first: String,
    #[model(rename = "value")]
    second: String,
}

fn main() {}