Cargo Features
mugl has no features set by default.
[dependencies]
mugl = { version = "0.1.2", features = ["std", "backend-wgpu", "backend-webgl", "serde", "wasm-bindgen"] }
- std backend-wgpu?
-
Enables std of optional wasm-bindgen
- backend-wgpu = raw-window-handle, std, wgpu
-
Affects
mugl::wgpu
… - backend-webgl
-
Affects
mugl::webgl
…
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.
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- raw-window-handle backend-wgpu?
-
Enables raw-window-handle ^0.4
- wgpu backend-wgpu?
-
Enables wgpu ^0.12
- wasm-bindgen implicit feature
-
Enables wasm-bindgen
wasm-bindgen:
Easy support for interacting between JS and Rust