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

Enables impl-app of rokol_ffi

Affects glue::sapp, rokol::app

impl-gfx default = rokol_derive

Enables impl-gfx of rokol_ffi

Affects app::RApp.cleanup, rokol::gfx, rokol::glue, rokol::fons

glcore33 default

graphics backend

Enables glcore33 of rokol_ffi

metal

Enables metal of rokol_ffi

d3d11

Enables d3d11 of rokol_ffi

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