diff --git a/.travis.yml b/.travis.yml index 9a793d5..dfac6df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 32df254..cb9662d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,6 @@ keywords = ["gamedev", "math", "matrix", "vector", "quaternion"] name = "cgmath" [features] -default = ["rand"] unstable = [] swizzle = []