typeshift 0.5.1

Zod-like parse, validation, and JSON Schema flow for Rust types
Documentation
1
2
3
4
5
6
7
8
error: #[typeshift] supports structs and enums only
 --> tests/ui/fail_union.rs:4:1
  |
4 | / union Bad {
5 | |     a: u32,
6 | |     b: f32,
7 | | }
  | |_^