Skip to content

v0.5.7

Choose a tag to compare

@RAprogramm RAprogramm released this 20 Sep 11:50
· 436 commits to main since this release

Added

  • masterror::error::template module providing a parsed representation of
    #[error("...")] strings and a formatter hook for future custom derives.
  • Internal masterror-derive crate powering the native masterror::Error
    derive macro.
  • Template placeholders now accept the same formatter traits as thiserror
    (:?, :x, :X, :p, :b, :o, :e, :E) so existing derives keep
    compiling when hexadecimal, binary, pointer or exponential formatting is
    requested.

Changed

  • masterror::Error now uses the in-tree derive, removing the dependency on
    thiserror while keeping the same runtime behaviour and diagnostics.

Documentation

  • Documented formatter trait usage across README.md, README.ru.md and the
    masterror::error module, noting compatibility with thiserror v2 and
    demonstrating programmatic TemplateFormatter inspection.