rust-webwasm/game-of-life/Cargo.toml

21 lines
444 B
TOML
Raw Normal View History

2024-01-02 01:48:33 -08:00
[package]
name = "game-of-life"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2024-01-02 02:18:47 -08:00
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
2024-01-02 01:48:33 -08:00
[dependencies]
2024-01-02 02:18:47 -08:00
wasm-bindgen = "0.2.84"
console_error_panic_hook = { version = "0.1.7", optional = true }
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"