Update travis and README for the unsafe_textures feature

This commit is contained in:
Cobrand
2017-09-05 05:12:07 +00:00
parent 17ea8930b4
commit a0da0cf392
2 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -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
+7 -2
View File
@@ -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