2022-02-03 02:05:09 +03:00
|
|
|
[package]
|
|
|
|
edition = "2021"
|
|
|
|
name = "roc_repl_wasm"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2022-02-03 15:35:15 +03:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
2022-02-03 02:05:09 +03:00
|
|
|
|
2022-02-06 13:06:38 +03:00
|
|
|
[build-dependencies]
|
|
|
|
roc_builtins = {path = "../compiler/builtins"}
|
|
|
|
|
2022-02-03 02:05:09 +03:00
|
|
|
[dependencies]
|
2022-03-12 17:44:49 +03:00
|
|
|
bumpalo = {version = "3.8.0", features = ["collections"]}
|
2022-03-12 22:23:17 +03:00
|
|
|
console_error_panic_hook = {version = "0.1.7", optional = true}
|
2022-03-12 17:44:49 +03:00
|
|
|
futures = {version = "0.3.17", optional = true}
|
2022-02-03 15:35:15 +03:00
|
|
|
js-sys = "0.3.56"
|
|
|
|
wasm-bindgen = "0.2.79"
|
|
|
|
wasm-bindgen-futures = "0.4.29"
|
|
|
|
|
2022-02-06 17:32:38 +03:00
|
|
|
roc_collections = {path = "../compiler/collections"}
|
|
|
|
roc_gen_wasm = {path = "../compiler/gen_wasm"}
|
2022-02-06 11:13:29 +03:00
|
|
|
roc_load = {path = "../compiler/load"}
|
2022-02-03 02:05:09 +03:00
|
|
|
roc_parse = {path = "../compiler/parse"}
|
|
|
|
roc_repl_eval = {path = "../repl_eval"}
|
2022-02-06 11:13:29 +03:00
|
|
|
roc_target = {path = "../compiler/roc_target"}
|
2022-02-06 17:32:38 +03:00
|
|
|
roc_types = {path = "../compiler/types"}
|
2022-02-19 21:21:52 +03:00
|
|
|
|
2022-02-20 20:47:56 +03:00
|
|
|
[features]
|
|
|
|
wasmer = ["futures"]
|
2022-03-04 23:54:37 +03:00
|
|
|
|
|
|
|
[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
|