1# Release 0.3.3 (2020-10-29)
2
3- [Make `NumOps` work with `no_std`][41] -- thanks @jedrzejboczar!
4
5[41]: https://github.com/rust-num/num-derive/pull/41
6
7# Release 0.3.2 (2020-08-24)
8
9- [Add `#[inline]` to all derived functions][40] -- thanks @Amanieu!
10
11[40]: https://github.com/rust-num/num-derive/pull/40
12
13# Release 0.3.1 (2020-07-28)
14
15- [Add `num_traits` proc_macro helper for explicit import][35] - thanks @jean-airoldie!
16- [Provide nicer parse errors and suggest "full-syntax"][39]
17
18[35]: https://github.com/rust-num/num-derive/pull/35
19[39]: https://github.com/rust-num/num-derive/pull/39
20
21# Release 0.3.0 (2019-09-27)
22
23- [Updated the `proc-macro2`, `quote`, and `syn` dependencies to 1.0][28],
24  which raises the minimum supported rustc to 1.31.
25
26[28]: https://github.com/rust-num/num-derive/pull/28
27
28# Release 0.2.5 (2019-04-23)
29
30- [Improved the masking of lints in derived code][23].
31
32[23]: https://github.com/rust-num/num-derive/pull/23
33
34# Release 0.2.4 (2019-01-25)
35
36- [Adjusted dependencies to allow no-std targets][22].
37
38[22]: https://github.com/rust-num/num-derive/pull/22
39
40# Release 0.2.3 (2018-10-03)
41
42- [Added newtype deriving][17] for `FromPrimitive`, `ToPrimitive`,
43  `NumOps<Self, Self>`, `NumCast`, `Zero`, `One`, `Num`, and `Float`.
44  Thanks @asayers!
45
46[17]: https://github.com/rust-num/num-derive/pull/17
47
48# Release 0.2.2 (2018-05-22)
49
50- [Updated dependencies][14].
51
52[14]: https://github.com/rust-num/num-derive/pull/14
53
54# Release 0.2.1 (2018-05-09)
55
56- [Updated dependencies][12] -- thanks @spearman!
57
58[12]: https://github.com/rust-num/num-derive/pull/12
59
60# Release 0.2.0 (2018-02-21)
61
62- [Discriminant matching is now simplified][10], casting values directly by
63  name, rather than trying to compute offsets from known values manually.
64- **breaking change**: [Derivations now import the traits from `num-traits`][11]
65  instead of the full `num` crate.  These are still compatible, but users need
66  to have an explicit `num-traits = "0.2"` dependency in their `Cargo.toml`.
67
68[10]: https://github.com/rust-num/num-derive/pull/10
69[11]: https://github.com/rust-num/num-derive/pull/11
70
71
72# Release 0.1.44 (2018-01-26)
73
74- [The derived code now explicitly allows `unused_qualifications`][9], so users
75  that globally deny that lint don't encounter an error.
76
77[9]: https://github.com/rust-num/num-derive/pull/9
78
79
80# Release 0.1.43 (2018-01-23)
81
82- [The derived code now explicitly allows `trivial_numeric_casts`][7], so users
83  that globally deny that lint don't encounter an error.
84
85[7]: https://github.com/rust-num/num-derive/pull/7
86
87
88# Release 0.1.42 (2018-01-22)
89
90- [num-derive now has its own source repository][num-356] at [rust-num/num-derive][home].
91- [The derivation macros have been updated][3] to using `syn` 0.12.  Support for complex
92  expressions in enum values can be enabled with the `full-syntax` feature.
93
94Thanks to @cuviper and @hcpl for their contributions!
95
96[home]: https://github.com/rust-num/num-derive
97[num-356]: https://github.com/rust-num/num/pull/356
98[3]: https://github.com/rust-num/num-derive/pull/3
99
100
101# Prior releases
102
103No prior release notes were kept.  Thanks all the same to the many
104contributors that have made this crate what it is!
105
106