Debian Codegraph @

.cargo/vendor/num-derive/RELEASES.md

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