24 lines
631 B
TOML
24 lines
631 B
TOML
[package]
|
|
name = "el-wasm"
|
|
description = "Engram language WebAssembly runtime — runs .el programs natively in browsers"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
el-compiler = { workspace = true }
|
|
wasm-bindgen = { workspace = true, optional = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
getrandom = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
# Enable the wasm-bindgen JS API. Pass `--features wasm` to wasm-pack.
|
|
wasm = ["dep:wasm-bindgen", "dep:getrandom"]
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|