fork/numbat
git clone https://git.julia.blue/fork/numbat
6622b17
v1.6.3
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.63" 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 } 21 22# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size 23# compared to the default allocator's ~10K. It is slower than the default 24# allocator, however. 25wee_alloc = { version = "0.4.5" , optional = true } 26 27numbat = { path = "../numbat" } 28html-escape = "0.2.13" 29termcolor = "1.3.0" 30codespan-reporting = "0.11.1" 31 32[ dev-dependencies ] 33wasm-bindgen-test = "0.3.13" 34 35[ profile . release ] 36# Tell `rustc` to optimize for small code size. 37opt-level = "s" 38lto = true