Cargo Features
world-map-gen has no features set by default.
[dependencies]
world-map-gen = { version = "0.1.1", features = ["wasm_debug", "wee_alloc"] }
- wasm_debug = console_error_panic_hook, web-sys
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.
- wee_alloc wasm32 implicit feature
-
Enables wee_alloc
wee_alloc:
wee_alloc: The Wasm-Enabled, Elfin Allocator
- console_error_panic_hook wasm32 wasm_debug?
- web-sys wasm32 wasm_debug?