From bcc857c4e9a358ccfcb45a76926e1c592b4bbc99 Mon Sep 17 00:00:00 2001 From: Serge Latyntcev Date: Mon, 7 Feb 2022 06:36:36 +1300 Subject: [PATCH] Release 0.10.0 --- CHANGELOG.md | 20 ++++++++++++++------ Cargo.toml | 2 +- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a89ab2ec..283aaba6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## [0.10.0] + +### Added + - `std::str::FromStr` trait implementation for GenericFraction and GenericDecimal + Special thanks to Scott Wilson for the contribution + - Deprecated `GenericFraction::from_decimal_str` and `GenericDecimal::from_decimal_str` in favour of of `std::str::FromStr` + + ## [0.9.0] - 2021-08-22 ### Added @@ -41,8 +49,8 @@ ## [0.6.1] - 2019-03-29 ### Added - - dynaint, Into implementation - - fraction, GenericFraction::into_fraction method implementation + - dynaint, `Into` implementation + - fraction, `GenericFraction::into_fraction` method implementation ## [0.6.0] - 2019-02-05 ### Added @@ -151,7 +159,7 @@ ## [0.3.1] - 2016-11-12 ### Added -- `fn format_as_float` implemented for GenericFraction (it was only available for BigFraction before) +- `fn format_as_float` implemented for `GenericFraction` (it was only available for BigFraction before) ### Changed - `Into` to be used in bounds rather than `From`, since it's more flexible (thanks to Alexander Altman for the patch) @@ -160,11 +168,11 @@ ## [0.3.0] - 2016-11-08 ### Added -- From<(N, D)> generic implementation (through std::fmt::Display) +- `From<(N, D)>` generic implementation (through std::fmt::Display) ### Changed -- GenericFraction copy semantic to be applied only when `T: Clone` -- GenericFraction impl, constructors refactoring (new, new_raw) +- `GenericFraction` copy semantic to be applied only when `T: Clone` +- `GenericFraction` impl, constructors refactoring (new, new_raw) - `num` upgraded up to `0.1.36` (from `0.1.34`) ### Removed diff --git a/Cargo.toml b/Cargo.toml index 40b2e4e4..67fcb858 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fraction" -version = "0.9.0" +version = "0.10.0" authors = ["dnsl48 "] description = "Lossless fractions and decimals; drop-in float replacement"