mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 21:03:47 -10:00
26 lines
761 B
TOML
26 lines
761 B
TOML
[package]
|
|
name = "wsx"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
[workspace]
|
|
[lib]
|
|
crate-type = ["staticlib", "rlib"]
|
|
[[bin]]
|
|
name = "wsxc"
|
|
required-features = ["compile"]
|
|
[[bin]]
|
|
name = "wsx-suite"
|
|
[features]
|
|
# the Mac's compiler: modules compiled ahead of time for Pulley (the phone has no compiler and no JIT)
|
|
compile = ["wasmtime/cranelift"]
|
|
[dependencies]
|
|
wasmtime = { version = "48.0.8", default-features = false, features = ["runtime", "pulley", "std"] }
|
|
wasmtime-wasi = { version = "48.0.8", default-features = false, features = ["p1"] }
|
|
serde_json = "1"
|
|
# the one native-call layer (its registry; no V8 here): the sandbox's commands as wsx.* calls
|
|
raea-core-calls = { path = "../../../core/calls" }
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|