Debian Codegraph @

debian/rust-vendor/num-integer/RELEASES.md

raw
1 # Release 0.1.47 (2026-08-11)
2
3 - [Implement Karatsuba Square Root for 128-bit `Roots::sqrt`][80]
4 - Miscellaneous other improvements to docs and testing.
5
6 **Contributors**: @durin42, @cuviper, @mikem8891
7
8 [80]: https://github.com/rust-num/num-integer/pull/80
9
10 # Release 0.1.46 (2024-02-07)
11
12 - [Upgrade to 2018 edition, **MSRV 1.31**][51]
13 - [The `Integer::divides` method is now properly deprecated][42],
14 rather than just documented so.
15 - [The new `Integer::dec` and `inc` methods change the value by one.][53]
16
17 **Contributors**: @aobatact, @cuviper, @hkBst, @MiguelX413
18
19 [42]: https://github.com/rust-num/num-integer/pull/42
20 [51]: https://github.com/rust-num/num-integer/pull/51
21 [53]: https://github.com/rust-num/num-integer/pull/53
22
23 # Release 0.1.45 (2022-04-29)
24
25 - [`Integer::next_multiple_of` and `prev_multiple_of` no longer overflow -1][45].
26 - [`Integer::is_multiple_of` now handles a 0 argument without panicking][47]
27 for primitive integers.
28 - [`ExtendedGcd` no longer has any private fields][46], making it possible for
29 external implementations to customize `Integer::extended_gcd`.
30
31 **Contributors**: @ciphergoth, @cuviper, @tspiteri, @WizardOfMenlo
32
33 [45]: https://github.com/rust-num/num-integer/pull/45
34 [46]: https://github.com/rust-num/num-integer/pull/46
35 [47]: https://github.com/rust-num/num-integer/pull/47
36
37 # Release 0.1.44 (2020-10-29)
38
39 - [The "i128" feature now bypasses compiler probing][35]. The build script
40 used to probe anyway and panic if requested support wasn't found, but
41 sometimes this ran into bad corner cases with `autocfg`.
42
43 **Contributors**: @cuviper
44
45 [35]: https://github.com/rust-num/num-integer/pull/35
46
47 # Release 0.1.43 (2020-06-11)
48
49 - [The new `Average` trait][31] computes fast integer averages, rounded up or
50 down, without any risk of overflow.
51
52 **Contributors**: @althonos, @cuviper
53
54 [31]: https://github.com/rust-num/num-integer/pull/31
55
56 # Release 0.1.42 (2020-01-09)
57
58 - [Updated the `autocfg` build dependency to 1.0][29].
59
60 **Contributors**: @cuviper, @dingelish
61
62 [29]: https://github.com/rust-num/num-integer/pull/29
63
64 # Release 0.1.41 (2019-05-21)
65
66 - [Fixed feature detection on `no_std` targets][25].
67
68 **Contributors**: @cuviper
69
70 [25]: https://github.com/rust-num/num-integer/pull/25
71
72 # Release 0.1.40 (2019-05-20)
73
74 - [Optimized primitive `gcd` by avoiding memory swaps][11].
75 - [Fixed `lcm(0, 0)` to return `0`, rather than panicking][18].
76 - [Added `Integer::div_ceil`, `next_multiple_of`, and `prev_multiple_of`][16].
77 - [Added `Integer::gcd_lcm`, `extended_gcd`, and `extended_gcd_lcm`][19].
78
79 **Contributors**: @cuviper, @ignatenkobrain, @smarnach, @strake
80
81 [11]: https://github.com/rust-num/num-integer/pull/11
82 [16]: https://github.com/rust-num/num-integer/pull/16
83 [18]: https://github.com/rust-num/num-integer/pull/18
84 [19]: https://github.com/rust-num/num-integer/pull/19
85
86 # Release 0.1.39 (2018-06-20)
87
88 - [The new `Roots` trait provides `sqrt`, `cbrt`, and `nth_root` methods][9],
89 calculating an `Integer`'s principal roots rounded toward zero.
90
91 **Contributors**: @cuviper
92
93 [9]: https://github.com/rust-num/num-integer/pull/9
94
95 # Release 0.1.38 (2018-05-11)
96
97 - [Support for 128-bit integers is now automatically detected and enabled.][8]
98 Setting the `i128` crate feature now causes the build script to panic if such
99 support is not detected.
100
101 **Contributors**: @cuviper
102
103 [8]: https://github.com/rust-num/num-integer/pull/8
104
105 # Release 0.1.37 (2018-05-10)
106
107 - [`Integer` is now implemented for `i128` and `u128`][7] starting with Rust
108 1.26, enabled by the new `i128` crate feature.
109
110 **Contributors**: @cuviper
111
112 [7]: https://github.com/rust-num/num-integer/pull/7
113
114 # Release 0.1.36 (2018-02-06)
115
116 - [num-integer now has its own source repository][num-356] at [rust-num/num-integer][home].
117 - [Corrected the argument order documented in `Integer::is_multiple_of`][1]
118 - [There is now a `std` feature][5], enabled by default, along with the implication
119 that building *without* this feature makes this a `#[no_std]` crate.
120 - There is no difference in the API at this time.
121
122 **Contributors**: @cuviper, @jaystrictor
123
124 [home]: https://github.com/rust-num/num-integer
125 [num-356]: https://github.com/rust-num/num/pull/356
126 [1]: https://github.com/rust-num/num-integer/pull/1
127 [5]: https://github.com/rust-num/num-integer/pull/5
128
129
130 # Prior releases
131
132 No prior release notes were kept. Thanks all the same to the many
133 contributors that have made this crate what it is!
134