Skip to content

Commit 74ea280

Browse files
committed
Added 'default-features = false' for features
1 parent be99221 commit 74ea280

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ adding this instead:
170170
```toml
171171
[dependencies.sdl2]
172172
version = "0.25"
173+
default-features = false
173174
features = ["ttf","image","gfx","mixer"]
174175
```
175176

src/sdl2/gfx/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
//! ```toml
1717
//! [dependencies.sdl2]
1818
//! version = ...
19+
//! default-features = false
1920
//! features = ["gfx"]
2021
//! ```
2122
extern crate c_vec;

src/sdl2/image/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
//! ```toml
1717
//! [dependencies.sdl2]
1818
//! version = ...
19+
//! default-features = false
1920
//! features = ["image"]
2021
//! ```
2122

src/sdl2/mixer/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
//! ```toml
1717
//! [dependencies.sdl2]
1818
//! version = ...
19+
//! default-features = false
1920
//! features = ["mixer"]
2021
//! ```
2122

src/sdl2/ttf/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
//! ```toml
1717
//! [dependencies.sdl2]
1818
//! version = ...
19+
//! default-features = false
1920
//! features = ["ttf"]
2021
//! ```
2122

0 commit comments

Comments
 (0)