[package] authors = ["Bradlee Speice"] categories = ["wasm"] description = "A no-framework WASM Electron app" license = "Apache-2.0/MIT" name = "rust_webpack" readme = "./README.md" repository = "https://github.com/rustwasm/rust-webpack-template" version = "0.1.0" [lib] crate-type = ["cdylib"] [dependencies] cfg-if = "0.1.5" wasm-bindgen = "0.2.19" # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great for development, but requires # all the `std::fmt` and `std::panicking` infrastructure, so isn't great for # code size when deploying. console_error_panic_hook = { version = "0.1.5", optional = true } # `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size # compared to the default allocator's ~10K. It is slower than the default # allocator, however. wee_alloc = { version = "0.4.2", optional = true } [features] default-features = ["console_error_panic_hook", "wee_alloc"]