Skip to content

Nutype 0.5.1 - enhanced no_std support and bug fixes

Latest
Compare
Choose a tag to compare
@greyblake greyblake released this 20 Dec 11:49

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 in no_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 deriving Deserialize caused compilation errors when using both no_std and serde 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 the borsch crate to ensure seamless integration.
    (#195)