Skip to content

Commit 3716330

Browse files
committed
Merge #27
27: Release num-traits 0.1.42 r=cuviper a=cuviper
2 parents 93be5db + ff73e62 commit 3716330

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-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", "science" ]
88
license = "MIT/Apache-2.0"
99
repository = "https://github.com/rust-num/num-traits"
1010
name = "num-traits"
11-
version = "0.1.41"
11+
version = "0.1.42"
1212
readme = "README.md"
1313

1414
[dependencies]

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ and this to your crate root:
2121
extern crate num_traits;
2222
```
2323

24+
## Releases
25+
26+
Release notes are available in [RELEASES.md](RELEASES.md).
27+
2428
## Compatibility
2529

2630
The `num-traits` crate is tested for rustc 1.8 and greater.

RELEASES.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Release 0.1.42
2+
3+
- [num-traits now has its own source repository][num-356] at [rust-num/num-traits][home].
4+
- [`ParseFloatError` now implements `Display`][22].
5+
- [The new `AsPrimitive` trait][17] implements generic casting with the `as` operator.
6+
- [The new `CheckedShl` and `CheckedShr` traits][21] implement generic
7+
support for the `checked_shl` and `checked_shr` methods on primitive integers.
8+
- [The new `Real` trait][23] offers a subset of `Float` functionality that may be applicable to more
9+
types, with a blanket implementation for all existing `T: Float` types.
10+
11+
Thanks to @cuviper, @Enet4, @fabianschuiki, @svartalf, and @yoanlcq for their contributions!
12+
13+
[home]: https://github.com/rust-num/num-traits
14+
[num-356]: https://github.com/rust-num/num/pull/356
15+
[17]: https://github.com/rust-num/num-traits/pull/17
16+
[21]: https://github.com/rust-num/num-traits/pull/21
17+
[22]: https://github.com/rust-num/num-traits/pull/22
18+
[23]: https://github.com/rust-num/num-traits/pull/23
19+
20+
21+
# Prior releases
22+
23+
No prior release notes were kept. Thanks all the same to the many
24+
contributors that have made this crate what it is!

0 commit comments

Comments
 (0)