mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 08:17:40 +03:00
34 lines
969 B
TOML
34 lines
969 B
TOML
[package]
|
|
edition = "2021"
|
|
name = "roc_repl_wasm"
|
|
version = "0.1.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[build-dependencies]
|
|
roc_builtins = {path = "../compiler/builtins"}
|
|
|
|
[dependencies]
|
|
bumpalo = {version = "3.8.0", features = ["collections"]}
|
|
console_error_panic_hook = {version = "0.1.7", optional = true}
|
|
futures = {version = "0.3.17", optional = true}
|
|
js-sys = "0.3.56"
|
|
wasm-bindgen = "0.2.79"
|
|
wasm-bindgen-futures = "0.4.29"
|
|
|
|
roc_collections = {path = "../compiler/collections"}
|
|
roc_gen_wasm = {path = "../compiler/gen_wasm"}
|
|
roc_load = {path = "../compiler/load"}
|
|
roc_parse = {path = "../compiler/parse"}
|
|
roc_repl_eval = {path = "../repl_eval"}
|
|
roc_reporting = {path = "../reporting"}
|
|
roc_target = {path = "../compiler/roc_target"}
|
|
roc_types = {path = "../compiler/types"}
|
|
|
|
[features]
|
|
wasmer = ["futures"]
|
|
|
|
[package.metadata.wasm-pack.profile.profiling]
|
|
wasm-opt = ['-Os', '-g'] # `wasm-pack --profiling` is supposed to have debug info `-g` by default, but doesn't
|