Cargo Features
libtetris has no features set by default.
[dependencies]
libtetris = { version = "0.0.6", features = ["wasm", "native"] }
- wasm
-
Enables console_error_panic_hook and wasm-bindgen
Affects
libtetris::wasm_game
… - native
-
Enables rand