- Improving
Getters: replacing struct-level arguments in a smart way with field-level arguments num::Errorimplementsstd::Error
- Fixing
Gettersbehavior to match documentation: if none of getter options are provided a function with the same name as a field is generated returning reference to the field (previously due to a bug this function had_refsuffix)
- Using
coreinstead ofstdin order to support no_std environment
- Making display derivation macro not to produce clippy::if_same_then_else
- Fixed display derivation with enums using inner representation specified at the enum (topmost) level
- Fixed breaking change in
synviolating semantic versioning
- Fixing Wrapper::From automatic derive problem
- Fix for missed Wrapper use in derive generated code
- Wrapper supports wrapping Debug
- Wrapper supports wrapping usize-based Index and IndexMut
- Support for custom amplify crate naming in Wrapper derive macro
- Auto implementation
From<Wrapped> for Innerin wrapper derive
- Fixing display derive bug for enums using display with some external function
- Using amplify 2.3.0
- Deriving
Wrapperdoes not requireuse amplify::Wrapper
- Support for {0}-style indexes in derive(Display)
- Auto From for String implementation for Error derive
- Fixed problem with display(Debug) for enums
- Multiple display derivation improvements
- Index wrapper derivations
- Improvements to
#[display()]: #26, #32 - Allows
#[display(inner)]derive for enum variants with named fields - Improvements to
#[derive(Display)]struct representation: #30 - Fixed index wrapper derivations: #27
- Itroduction of
#[wrapper()]meta field for deriving from internal representation - More internal derive types: unitary operations, bitwise and rem.
- Fixed rare case in Wrapper derive for types having synonymous
add/mul/*_assignmethods
- Fixing Wrapper derivation issue with multiple formatting traits ambiguity
- No autoderive for Display in Wrapper (use
#[display(inner)]to mimic the old behaviour) - Fixing display tuple derive warning
- Support for
inneras a Display alias for{_0}variant
- Fixing display derivation behaviour for typled structs
- Support for alternative Display formatting with
altattribute parameter
- Upgrading to
amplifyv1.2.0
- Upgrading to
amplifyv1.1.0
- New derive macros:
- Display
- From
- Error
- Removed all utility functions (new derive macro use better and more efficient approach)
- Tests moved into doc comments (previously were done with example builds)
- Better docs
- Library commits to Cargo.lock version