rydantic 0.6.0

Type-driven validation, JSON Schema, Cap'n Proto, Axum and SQLx models for Rust
Documentation
1
2
3
4
use rydantic::{Model,SqlModel};
#[derive(Model,SqlModel)]
struct Generic<T> { #[sql(primary_key)] id:i64, value:T }
fn main(){}