Repository navigation
Releases: ice1x/perldantic
Releases · ice1x/perldantic
Release list
Perldantic 0.01
First release of Perldantic: pydantic's data validation for Perl, on a Python-free Rust port of pydantic-core.
Install
Needs Perl 5.36+ and Rust (cargo; the build compiles the core):
cpanm https://github.com/ice1x/perldantic/releases/download/v0.1.0/Perldantic-0.01.tar.gzSHA-256 of Perldantic-0.01.tar.gz: adf81bcf64269143535cc6cde53bccb181936058254bc4512cce8ac675941d51
Installing without Rust (prebuilt core libraries) comes with the next release.
What's in it
See Changes: models declared the Moo way with pydantic's model_* methods, types with Types::Standard names, validators and serializers, TypeAdapter, structured exceptions, JSON Schema, lazy objects, and the core schema API itself (Perldantic::FFI).