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 default-features = false somewhere in the dependency tree.

full = default
enabled default

Enables browser_log, bytemuck, and js-sys

bytemuck:

= external
xxx : replace

and mingl, wasm-bindgen, wasm-bindgen-futures, and web-sys

mingl:

= internal

constants default

reflect contants

model diagnostics

Model information

Enables model of mingl, async of tobj

diagnostics default = model

Enables diagnostics of mingl

file default

enable files handling

future default

enable futures

ndarray

Enables ndarray of mingl

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.

tobj model?