Cargo Features
[dependencies]
rokol = { version = "0.4.0", default-features = false, features = ["impl-app", "impl-gfx", "glcore33", "metal", "d3d11", "sdl2", "fontstash", "serde"] }
- default = fontstash, glcore33, impl-gfx, sdl2, serde
-
show off all the items
- impl-app
-
Affects
glue::sapp
,rokol::app
… - impl-gfx default = rokol_derive
-
Affects
app::RApp.cleanup
,rokol::gfx
,rokol::glue
,rokol::fons
… - glcore33 default
-
graphics backend
- metal
- d3d11
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.
- rokol_derive impl-gfx
- sdl2 default
-
Enables sdl2 ^0.35.1
Affects
glue::sdl
… - fontstash default
-
Affects
rokol::fons
… - serde default