Cargo Features

[dependencies]
frenderer = { version = "0.10.0", default-features = false, features = ["winit", "webgl"] }
default = winit

The winit feature is set by default whenever frenderer is added without default-features = false somewhere in the dependency tree.

winit default

Enables winit ^0.29

Affects events::web_error, frenderer::input

webgl

Enables webgl of wgpu ^0.19

wgpu:

Enables the GLES backend on Wasm

* ⚠️ WIP: Currently will also enable GLES dependencies on any other targets.