[package] name = "breakout-wasm" version = "0.2.2" description = "Components of the game Breakout written in Rust and compiled to WASM" authors = ["Maxwell Anderson "] edition = "2018" license = "MIT" [lib] crate-type = ["cdylib", "rlib"] [features] default = ["console_error_panic_hook"] [dependencies] wasm-bindgen = "0.2" js-sys = "0.3" console_error_panic_hook = { version = "0.1.1", optional = true } wee_alloc = { version = "0.4.2", optional = true } [dev-dependencies] wasm-bindgen-test = "0.2" [profile.release] opt-level = "s"