fork/numbat

git clone https://git.julia.blue/fork/numbat

Marko BauschFixed wasm build3509756

master
941 B35 linesraw
1[package]
2name = "numbat-wasm"
3authors = ["David Peter <mail@david-peter.de>"]
4version = "0.1.0"
5edition = "2021"
6
7[lib]
8crate-type = ["cdylib", "rlib"]
9
10[features]
11default = ["console_error_panic_hook"]
12
13[dependencies]
14wasm-bindgen = "0.2.90"
15
16# The `console_error_panic_hook` crate provides better debugging of panics by
17# logging them with `console.error`. This is great for development, but requires
18# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
19# code size when deploying.
20console_error_panic_hook = { version = "0.1.6", optional = true }
21numbat = { path = "../numbat", default-features = false, features = [
22    "html-formatter",
23] }
24html-escape = "0.2.13"
25termcolor = "1.4.1"
26codespan-reporting = "0.11.1"
27getrandom = { version = "0.2.12", features = ["js"] }
28
29[dev-dependencies]
30wasm-bindgen-test = "0.3.40"
31
32[profile.release]
33# Tell `rustc` to optimize for small code size.
34opt-level = "s"
35lto = true