I am excited to announce the release of Nutype 0.5.1, which brings some fixes for an improved developer experience. Below is an overview of what's included in this version:
π New Features
no_std
Support for::core::error::Error
Nutype now generates an implementation of::core::error::Error
inno_std
environments when using Rust version 1.81 or higher. This enhancement ensures better compatibility with modern Rust ecosystems.
π οΈ Bug Fixes
-
Custom Error Paths
You can now specify custom errors using a path, providing greater flexibility for your error-handling needs.
(#186, #187) -
Deserialize
Derive Compatibility
Resolved an issue where derivingDeserialize
caused compilation errors when using bothno_std
andserde
features.
(#182) -
Lint Warnings
Fixed unnecessary lint warnings related to the inner generated module for cleaner builds. -
Conflict with
borsch
Crate
Addressed a conflict with theborsch
crate to ensure seamless integration.
(#195)