[package] name = "opslang-wasm" version.workspace = true description.workspace = true repository.workspace = true license.workspace = true edition = "2021" links = "opslang-wasm" [lib] crate-type = ["cdylib", "rlib"] [features] default = ["console_error_panic_hook"] [dependencies] wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" web-sys = { version = "0.3.69", features = ["console"] } opslang-ast = "0.2.1" opslang-parser = "0.2.1" async-recursion = "1.1.0" # 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.7", optional = true } chrono = "0.4.38" regex = "1.10.4" [dev-dependencies] wasm-bindgen-test = "0.3.42"