Cargo Features
[dependencies]
nannou = { version = "0.19.0", default-features = false, features = ["spirv", "wasm-experimental", "notosans"] }
- default = notosans
-
The
notosans
feature is set by default whenevernannou
is added without
somewhere in the dependency tree.default-features = false - spirv
-
Enables SPIR-V support in the
wgpu
module.Enables spirv of nannou_wgpu
- wasm-experimental = web-sys
-
Enables experimental WASM compilation for CI-use only
Enables js of getrandom, fragile-send-sync-non-atomic-wasm and webgl of wgpu ^0.17.1
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.
- notosans default
-
Affects
font::default_notosans
… - web-sys wasm-experimental?