Garbage in → Pydantic → you're golden!
summary
Rebuild moves core validation into pydantic-core in Rust, producing a runtime schema system consumed from Python and shipped as a separate package with prebuilt binaries. Benchmarks show a real-case model validation becoming 22× speedup over V1 for identical code paths; a 1.3 GB JSON ingest validates in ~53 s and serializes to a 45 MB parquet via Polars. New capabilities include JSON parsing in Rust (so strict mode can sensibly accept JSON arrays for tuples), cycle detection for recursive data, alias-paths, generics, and a type-adapter based serializer that fixes the “don’t ask the type” leak.
AI-written summary · about
