Skip to content

Commit e27c204

Browse files
committed
17: Release 0.1.42 r=cuviper a=cuviper
2 parents 27dd1f5 + e1f78be commit e27c204

File tree

6 files changed

+25
-8
lines changed

6 files changed

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

1414
[dependencies]
1515

1616
[dependencies.num-bigint]
1717
optional = true
18-
version = "0.1.32"
18+
version = "0.1.42"
1919

2020
[dependencies.num-integer]
21-
version = "0.1.32"
21+
version = "0.1.36"
22+
default-features = false
2223

2324
[dependencies.num-traits]
24-
version = "0.1.32"
25+
version = "0.2.0"
26+
default-features = false
27+
features = ["std"]
2528

2629
[dependencies.rustc-serialize]
2730
optional = true

README.md

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

33
[![crate](https://img.shields.io/crates/v/num-rational.svg)](https://crates.io/crates/num-rational)
44
[![documentation](https://docs.rs/num-rational/badge.svg)](https://docs.rs/num-rational)
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-rational.svg?branch=master)](https://travis-ci.org/rust-num/num-rational)
67

78
Generic `Rational` numbers for Rust.

RELEASES.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Release 0.1.42
2+
3+
- Maintenance release to update dependencies.
4+
5+
16
# Release 0.1.41
27

38
- [num-rational now has its own source repository][num-356] at [rust-num/num-rational][home].

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
@@ -9,6 +9,10 @@
99
// except according to those terms.
1010

1111
//! Rational numbers
12+
//!
13+
//! ## Compatibility
14+
//!
15+
//! The `num-rational` crate is tested for rustc 1.8 and greater.
1216
1317
#![doc(html_root_url = "https://docs.rs/num-rational/0.1")]
1418

0 commit comments

Comments
 (0)