monkey-wasm 2.0.2

monkey lang parser wasm version
Documentation
[package]
name = "monkey-wasm"
version = "2.0.2"
description = "monkey lang parser wasm version"
homepage = "https://github.com/gengjiawen/monkey-rust"
repository = "https://github.com/gengjiawen/monkey-rust"
authors = ["gengjiawen <technicalcute@gmail.com>"]
keywords = ["monkeylang", "wasm", "parser", "learn-by-doing", "rust"]
edition = "2018"
license = "MIT"

[lib]
crate-type = ["cdylib", "rlib"]

[features]
default = ["console_error_panic_hook"]

[dependencies]
monkey-parser = { path = "../parser", version = "2.0.0" }
monkey-object = { path = "../object", version = "2.0.0" }
monkey-compiler = { path = "../compiler", version = "2.0.0" }
monkey-gc = { path = "../gc", version = "2.0.0" }
monkey-asm = { path = "../asm", version = "2.0.0" }

wasm-bindgen = "0.2.126"
serde_json = "1.0.140"

# 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 }

# `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.
#
# Unfortunately, `wee_alloc` requires nightly Rust when targeting wasm for now.
wee_alloc = { version = "0.4.5", optional = true }

[dev-dependencies]
wasm-bindgen-test = "0.3.76"

[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[lints]
workspace = true