Cargo Features
[dependencies]
minwebgl = { version = "0.2.0", default-features = false, features = ["full", "enabled", "constants", "model", "diagnostics", "file", "future", "ndarray"] }
- default full? = constants, diagnostics, enabled, file, future
-
These default features are set whenever
minwebgl
is added without
somewhere in the dependency tree.default-features = false - full = default
- enabled default
-
Enables browser_log, bytemuck, and js-sys
bytemuck:
= external
xxx : replaceand mingl, wasm-bindgen, wasm-bindgen-futures, and web-sys
mingl:
= internal
- constants default
-
reflect contants
- model diagnostics
-
Model information
- diagnostics default = model
-
Enables diagnostics of mingl
- file default
-
enable files handling
- future default
-
enable futures
- ndarray
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.