Cargo Features
[dependencies]
tekenen = { version = "0.0.5", default-features = false, features = ["sdl", "preloader", "rust-embed"] }
- default = sdl
-
The
sdl
feature is set by default whenevertekenen
is added without
somewhere in the dependency tree.default-features = false - sdl default = sdl2
- preloader = image
-
Affects
tekenen::preloader
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- sdl2 sdl
-
Enables sdl2 ^0.35
- image preloader?
-
Enables image ^0.24.6
Affects
platform::ImageLoadingError
,platform::PlatformTrait.load_image
,platform::PlatformTrait.save_image
… - rust-embed implicit feature
-
Enables rust-embed ^6.8.1
Affects
tekenen::rust_embed
,platform::PlatformTrait.set_assets
…