Remove rand
from default features
This commit is contained in:
parent
9e650fd8ad
commit
31cb9eb574
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -17,7 +17,6 @@ keywords = ["gamedev", "math", "matrix", "vector", "quaternion"]
|
|||
name = "cgmath"
|
||||
|
||||
[features]
|
||||
default = ["rand"]
|
||||
unstable = []
|
||||
swizzle = []
|
||||
|
||||
|
|
Loading…
Reference in a new issue