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 whenever nannou is added without default-features = false somewhere in the dependency tree.

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?