Planning a standalone struct validation library for D , looking for feedback

Khushi Shukla khushi28132004 at gmail.com
Wed Jun 24 00:55:45 UTC 2026


Hi everyone,
I'm planning to build a standalone data validation library for D, 
inspired by Python's Pydantic. The goal is simple, a clean, 
framework-independent DUB package that lets you attach validation 
rules to struct fields using UDAs, and then validate instances of 
those structs with a single function call.
I checked what currently exists. hunt-validation seems abandoned 
(last updated early 2024, tightly coupled to the Hunt framework). 
I didn't find anything else that does this in a standalone way.
Before I start building, I want to make sure I'm not duplicating 
someone's ongoing work. Is anyone already working on something 
like this? And does the community see a need for it?
Any feedback on the direction is welcome.
Thanks


More information about the Digitalmars-d mailing list