Remove rand from default features

This commit is contained in:
Lukas Kalbertodt 2019-05-03 16:31:14 +02:00
parent 9e650fd8ad
commit 31cb9eb574
No known key found for this signature in database
GPG key ID: 3CBAF4153F818627
2 changed files with 4 additions and 4 deletions

View file

@ -21,9 +21,10 @@ matrix:
- rust: nightly
script:
- cargo build --no-default-features --features "$CARGO_FEATURES"
- cargo test --no-default-features --features "$CARGO_FEATURES"
- cargo build --features "$CARGO_FEATURES"
- cargo test --features "$CARGO_FEATURES"
- |
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
cargo bench --features "$CARGO_FEATURES"
# The benchmark always needs the 'rand' feature
cargo bench --features "$CARGO_FEATURES rand"
fi

View file

@ -17,7 +17,6 @@ keywords = ["gamedev", "math", "matrix", "vector", "quaternion"]
name = "cgmath"
[features]
default = ["rand"]
unstable = []
swizzle = []