Skip to content

Commit

Permalink
Update rand to 0.4, and test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Mar 6, 2018
1 parent db66e9c commit 3d2b2c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version = "1.0"

[dependencies.rand]
optional = true
version = "= 0.3.14"
version = "0.4"

[features]
default = []
Expand Down
5 changes: 4 additions & 1 deletion ci/test_full.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ cargo build --no-default-features
cargo test --no-default-features

# Each isolated feature should also work everywhere.
for feature in serde; do
for feature in rand serde; do
cargo build --verbose --no-default-features --features="$feature"
cargo test --verbose --no-default-features --features="$feature"
done

cargo build --all-features
cargo test --all-features

0 comments on commit 3d2b2c2

Please sign in to comment.