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
|
- rust: nightly
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo build --no-default-features --features "$CARGO_FEATURES"
|
- cargo build --features "$CARGO_FEATURES"
|
||||||
- cargo test --no-default-features --features "$CARGO_FEATURES"
|
- cargo test --features "$CARGO_FEATURES"
|
||||||
- |
|
- |
|
||||||
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
|
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
|
fi
|
||||||
|
|
|
@ -17,7 +17,6 @@ keywords = ["gamedev", "math", "matrix", "vector", "quaternion"]
|
||||||
name = "cgmath"
|
name = "cgmath"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["rand"]
|
|
||||||
unstable = []
|
unstable = []
|
||||||
swizzle = []
|
swizzle = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue