diff --git a/.travis.yml b/.travis.yml index 2c0b073d..13a94f04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,8 +27,8 @@ before_script: export PATH=$HOME/.local/bin:$PATH script: - | - travis-cargo build -- --all-features && - travis-cargo test -- --all-features && + travis-cargo build -- --features "gfx image ttf mixer" && + travis-cargo test -- --features "gfx image ttf mixer" && travis-cargo --only stable doc -- --all-features after_success: - travis-cargo --only stable doc-upload diff --git a/README.md b/README.md index 8fc57da8..e30b1cb6 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,13 @@ If you want a library compatible with earlier versions of SDL, please see # Documentation -* [master documentation](https://rust-sdl2.github.io/rust-sdl2/sdl2/) -* [crates.io documentation](https://docs.rs/sdl2/) +* [crates.io documentation](https://docs.rs/sdl2/), with no features at all. +* [master documentation](https://rust-sdl2.github.io/rust-sdl2/sdl2/) with the following features: + * gfx + * image + * mixer + * ttf + * unsafe\_textures (to get rid of the lifetime on `Texture`, at the cost of potential unsafety) # Requirements