File tree Expand file tree Collapse file tree 5 files changed +16
-17
lines changed
Expand file tree Collapse file tree 5 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 11language : rust
22sudo : false
33rust :
4- - 1.15.0
5- - 1.22.0 # rand
6- - 1.26.0 # has_i128
74 - 1.31.0 # 2018!
5+ - 1.32.0 # rand
86 - stable
97 - beta
108 - nightly
Original file line number Diff line number Diff line change 22
33[ ![ crate] ( https://img.shields.io/crates/v/num-complex.svg )] ( https://crates.io/crates/num-complex )
44[ ![ documentation] ( https://docs.rs/num-complex/badge.svg )] ( https://docs.rs/num-complex )
5- ![ minimum rustc 1.15 ] ( https://img.shields.io/badge/rustc-1.15 +-red.svg )
5+ ![ minimum rustc 1.31 ] ( https://img.shields.io/badge/rustc-1.31 +-red.svg )
66[ ![ Travis status] ( https://travis-ci.org/rust-num/num-complex.svg?branch=master )] ( https://travis-ci.org/rust-num/num-complex )
77
88` Complex ` numbers for Rust.
@@ -13,7 +13,7 @@ Add this to your `Cargo.toml`:
1313
1414``` toml
1515[dependencies ]
16- num-complex = " 0.2 "
16+ num-complex = " 0.3 "
1717```
1818
1919and this to your crate root:
@@ -29,7 +29,7 @@ the default `std` feature. Use this in `Cargo.toml`:
2929
3030``` toml
3131[dependencies .num-complex ]
32- version = " 0.2 "
32+ version = " 0.3 "
3333default-features = false
3434```
3535
@@ -47,4 +47,4 @@ Release notes are available in [RELEASES.md](RELEASES.md).
4747
4848## Compatibility
4949
50- The ` num-complex ` crate is tested for rustc 1.15 and greater.
50+ The ` num-complex ` crate is tested for rustc 1.31 and greater.
Original file line number Diff line number Diff line change 55set -ex
66
77export TRAVIS_RUST_VERSION
8- for TRAVIS_RUST_VERSION in 1.15 .0 1.22.0 1.26 .0 stable beta nightly; do
8+ for TRAVIS_RUST_VERSION in 1.31 .0 1.32 .0 stable beta nightly; do
99 run=" rustup run $TRAVIS_RUST_VERSION "
1010 $run cargo build --verbose
1111 $run $PWD /ci/test_full.sh
Original file line number Diff line number Diff line change @@ -4,13 +4,10 @@ set -ex
44
55echo Testing num-complex on rustc ${TRAVIS_RUST_VERSION}
66
7- FEATURES=" std serde"
8- if [[ " $TRAVIS_RUST_VERSION " =~ ^(nightly| beta| stable| 1.26.0| 1.22.0)$ ]]; then
9- FEATURES=" $FEATURES rand"
10- fi
11- if [[ " $TRAVIS_RUST_VERSION " =~ ^(nightly| beta| stable| 1.26.0)$ ]]; then
12- FEATURES=" $FEATURES i128"
13- fi
7+ case " $TRAVIS_RUST_VERSION " in
8+ 1.31.* ) FEATURES=" serde" ;;
9+ * ) FEATURES=" serde rand" ;;
10+ esac
1411
1512# num-complex should build and test everywhere.
1613cargo build --verbose
2926# test all supported features together
3027cargo build --features=" $FEATURES "
3128cargo test --features=" $FEATURES "
29+
30+ # test all supported features together with std
31+ cargo build --features=" std $FEATURES "
32+ cargo test --features=" std $FEATURES "
Original file line number Diff line number Diff line change 1212//!
1313//! ## Compatibility
1414//!
15- //! The `num-complex` crate is tested for rustc 1.15 and greater.
15+ //! The `num-complex` crate is tested for rustc 1.31 and greater.
1616
17- #![ doc( html_root_url = "https://docs.rs/num-complex/0.2 " ) ]
17+ #![ doc( html_root_url = "https://docs.rs/num-complex/0.3 " ) ]
1818#![ no_std]
1919
2020#[ cfg( any( test, feature = "std" ) ) ]
You can’t perform that action at this time.
0 commit comments