Launched this week

Catfive
Zero-dependency schema & form validation for Rust
2 followers
Zero-dependency schema & form validation for Rust
2 followers
Catfive is a fluent, zero-dependency schema and form validation library for Rust—inspired by Zod, without #[derive(...)] macros. Validate structs, untyped forms, and lists with composable rules, custom error templates, built-in threat mitigation (Trojan Source, XSS, SQLi), and a declarativespek() pattern engine supporting CPF, CNPJ (including 2026 alphanumeric), Luhn, and ASCII ranges. Optional serde & regex features, available on Crates.io.



Free
Launch Team

ZethosThe ledger you and your AI work from
Promoted
Hey Product Hunt! 👋
I built Catfive because I wanted Zod-style, fluent schema and form validation in Rust without polluting domain structs with
#[derive(...)]procedural macros or pulling in heavy dependency trees.What makes Catfive different:
std(with optionalserdeandregexfeatures).catfive::list), and untyped HTTP forms (catfive::form)..spek()engine: built-in support for[CPF],[CNPJ](including the 2026 alphanumeric standard),[LUHN], and custom ASCII/literal charsets.U+202E), zero-width characters, XSS vectors, and SQL injection signatures.MIT-licensed and live on Crates.io and GitHub. Would love your feedback!