Skip to content

Commit d4102c7

Browse files
committed
Release 4.2
1 parent 56a001e commit d4102c7

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ categories = ["algorithms", "data-structures", "science", "no-std"]
88
license = "MIT OR Apache-2.0"
99
name = "num-rational"
1010
repository = "https://github.com/rust-num/num-rational"
11-
version = "0.4.1"
11+
version = "0.4.2"
1212
readme = "README.md"
1313
exclude = ["/ci/*", "/.github/*"]
1414
edition = "2021"

RELEASES.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Release 0.4.2 (2024-05-07)
2+
3+
- [Upgrade to 2021 edition, **MSRV 1.60**][126]
4+
- [Add `Ratio::approximate_float_unsigned` to convert `FloatCore` types to unsigned][109]
5+
- [Add `const ZERO` and `ONE`, and implement `num_traits::ConstZero` and `ConstOne`][128]
6+
- [Add `Ratio::into_raw` to deconstruct the numerator and denominator][129]
7+
8+
**Contributors**: @cuviper, @Enyium, @flavioroth, @waywardmonkeys
9+
10+
[109]: https://github.com/rust-num/num-rational/pull/109
11+
[126]: https://github.com/rust-num/num-rational/pull/126
12+
[128]: https://github.com/rust-num/num-rational/pull/128
13+
[129]: https://github.com/rust-num/num-rational/pull/129
14+
115
# Release 0.4.1 (2022-06-23)
216

317
- [Fewer `clone` calls are used when reducing a new `Ratio<T>`][98].

0 commit comments

Comments
 (0)