From ff73e62d93576e7e596362b2ac622fc615d45cb3 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 22 Jan 2018 18:06:22 -0800 Subject: [PATCH] Release num-traits 0.1.42 --- Cargo.toml | 2 +- README.md | 4 ++++ RELEASES.md | 24 ++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 RELEASES.md diff --git a/Cargo.toml b/Cargo.toml index c388e9e..06cab57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ categories = [ "algorithms", "science" ] license = "MIT/Apache-2.0" repository = "https://github.com/rust-num/num-traits" name = "num-traits" -version = "0.1.41" +version = "0.1.42" readme = "README.md" [dependencies] diff --git a/README.md b/README.md index a4af231..b1491b1 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,10 @@ and this to your crate root: extern crate num_traits; ``` +## Releases + +Release notes are available in [RELEASES.md](RELEASES.md). + ## Compatibility The `num-traits` crate is tested for rustc 1.8 and greater. diff --git a/RELEASES.md b/RELEASES.md new file mode 100644 index 0000000..b82bce6 --- /dev/null +++ b/RELEASES.md @@ -0,0 +1,24 @@ +# Release 0.1.42 + +- [num-traits now has its own source repository][num-356] at [rust-num/num-traits][home]. +- [`ParseFloatError` now implements `Display`][22]. +- [The new `AsPrimitive` trait][17] implements generic casting with the `as` operator. +- [The new `CheckedShl` and `CheckedShr` traits][21] implement generic + support for the `checked_shl` and `checked_shr` methods on primitive integers. +- [The new `Real` trait][23] offers a subset of `Float` functionality that may be applicable to more + types, with a blanket implementation for all existing `T: Float` types. + +Thanks to @cuviper, @Enet4, @fabianschuiki, @svartalf, and @yoanlcq for their contributions! + +[home]: https://github.com/rust-num/num-traits +[num-356]: https://github.com/rust-num/num/pull/356 +[17]: https://github.com/rust-num/num-traits/pull/17 +[21]: https://github.com/rust-num/num-traits/pull/21 +[22]: https://github.com/rust-num/num-traits/pull/22 +[23]: https://github.com/rust-num/num-traits/pull/23 + + +# Prior releases + +No prior release notes were kept. Thanks all the same to the many +contributors that have made this crate what it is!