зеркало из https://github.com/mozilla/gecko-dev.git
2.5 KiB
2.5 KiB
Release 0.3.0 (2019-09-27)
- Updated the
proc-macro2
,quote
, andsyn
dependencies to 1.0, which raises the minimum supported rustc to 1.31.
Release 0.2.5 (2019-04-23)
Release 0.2.4 (2019-01-25)
Release 0.2.3 (2018-10-03)
- Added newtype deriving for
FromPrimitive
,ToPrimitive
,NumOps<Self, Self>
,NumCast
,Zero
,One
,Num
, andFloat
. Thanks @asayers!
Release 0.2.2 (2018-05-22)
Release 0.2.1 (2018-05-09)
- Updated dependencies -- thanks @spearman!
Release 0.2.0 (2018-02-21)
- Discriminant matching is now simplified, casting values directly by name, rather than trying to compute offsets from known values manually.
- breaking change: Derivations now import the traits from
num-traits
instead of the fullnum
crate. These are still compatible, but users need to have an explicitnum-traits = "0.2"
dependency in theirCargo.toml
.
Release 0.1.44 (2018-01-26)
- The derived code now explicitly allows
unused_qualifications
, so users that globally deny that lint don't encounter an error.
Release 0.1.43 (2018-01-23)
- The derived code now explicitly allows
trivial_numeric_casts
, so users that globally deny that lint don't encounter an error.
Release 0.1.42 (2018-01-22)
- num-derive now has its own source repository at rust-num/num-derive.
- The derivation macros have been updated to using
syn
0.12. Support for complex expressions in enum values can be enabled with thefull-syntax
feature.
Thanks to @cuviper and @hcpl for their contributions!
Prior releases
No prior release notes were kept. Thanks all the same to the many contributors that have made this crate what it is!