Skip to content

Commit 5c7cb7d

Browse files
committed
362: Release 0.1.42 r=cuviper a=cuviper
2 parents 9c08dd6 + 1693c53 commit 5c7cb7d

File tree

6 files changed

+38
-11
lines changed

6 files changed

+38
-11
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ matrix:
77
include:
88
- rust: 1.8.0
99
before_script:
10-
# libc 0.2.34 started using #[deprecated]
10+
# rand 0.3.22 started depending on rand 0.4, which requires rustc 1.15
11+
# manually hacking the lockfile due to the limitations of cargo#2773
1112
- cargo generate-lockfile
12-
- cargo update --package libc --precise 0.2.33
13+
- sed -i -e 's/"rand 0.[34].[0-9]\+/"rand 0.3.20/' Cargo.lock
14+
- sed -i -e '/^name = "rand"/,/^$/s/version = "0.3.[0-9]\+"/version = "0.3.20"/' Cargo.lock
1315
sudo: false
1416
script:
1517
- cargo build --verbose

Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ categories = [ "algorithms", "data-structures", "science" ]
88
license = "MIT/Apache-2.0"
99
repository = "https://github.com/rust-num/num"
1010
name = "num"
11-
version = "0.1.41"
11+
version = "0.1.42"
1212
readme = "README.md"
1313

1414
[badges]
@@ -18,24 +18,24 @@ travis-ci = { repository = "rust-num/num" }
1818

1919
[dependencies.num-bigint]
2020
optional = true
21-
version = "0.1.41"
21+
version = "0.1.42"
2222

2323
[dependencies.num-complex]
2424
optional = true
25-
version = "0.1.41"
25+
version = "0.1.42"
2626

2727
[dependencies.num-integer]
28-
version = "0.1.35"
28+
version = "0.1.36"
2929

3030
[dependencies.num-iter]
31-
version = "0.1.34"
31+
version = "0.1.35"
3232

3333
[dependencies.num-rational]
3434
optional = true
35-
version = "0.1.40"
35+
version = "0.1.42"
3636

3737
[dependencies.num-traits]
38-
version = "0.1.41"
38+
version = "0.2.0"
3939

4040
[dev-dependencies]
4141

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![crate](https://img.shields.io/crates/v/num.svg)](https://crates.io/crates/num)
44
[![documentation](https://docs.rs/num/badge.svg)](https://docs.rs/num)
5+
![minimum rustc 1.8](https://img.shields.io/badge/rustc-1.8+-red.svg)
56
[![Travis status](https://travis-ci.org/rust-num/num.svg?branch=master)](https://travis-ci.org/rust-num/num)
67

78
A collection of numeric types and traits for Rust.
@@ -50,6 +51,10 @@ and this to your crate root:
5051
extern crate num;
5152
```
5253

54+
## Releases
55+
56+
Release notes are available in [RELEASES.md](RELEASES.md).
57+
5358
## Compatibility
5459

5560
Most of the `num` crates are tested for rustc 1.8 and greater.

RELEASES.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Release 0.1.42
2+
3+
- [All of the num sub-crates now have their own source repositories][num-356].
4+
- Updated num sub-crates to their latest versions.
5+
6+
**Contributors**: @cuviper
7+
8+
[num-356]: https://github.com/rust-num/num/pull/356
9+
10+
11+
# Prior releases
12+
13+
No prior release notes were kept. Thanks all the same to the many
14+
contributors that have made this crate what it is!

ci/rustup.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ export TRAVIS_RUST_VERSION
88
for TRAVIS_RUST_VERSION in 1.8.0 stable beta nightly; do
99
run="rustup run $TRAVIS_RUST_VERSION"
1010
if [ "$TRAVIS_RUST_VERSION" = 1.8.0 ]; then
11-
# libc 0.2.34 started using #[deprecated]
11+
# rand 0.3.22 started depending on rand 0.4, which requires rustc 1.15
12+
# manually hacking the lockfile due to the limitations of cargo#2773
1213
$run cargo generate-lockfile
13-
$run cargo update --package libc --precise 0.2.33 || :
14+
$run sed -i -e 's/"rand 0.[34].[0-9]\+/"rand 0.3.20/' Cargo.lock
15+
$run sed -i -e '/^name = "rand"/,/^$/s/version = "0.3.[0-9]\+"/version = "0.3.20"/' Cargo.lock
1416
fi
1517
$run cargo build --verbose
1618
$run $PWD/ci/test_full.sh

src/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@
5252
//! ```
5353
//!
5454
//! [newt]: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method
55+
//!
56+
//! ## Compatibility
57+
//!
58+
//! The `num` crate is tested for rustc 1.8 and greater.
5559
5660
#![doc(html_root_url = "https://docs.rs/num/0.1")]
5761

0 commit comments

Comments
 (0)