- cargo.build (native): one source copy, tests under WASI, release build to /state/cargo/builds/<n>/, process groups killed on cancel. The host writes the SDK copy to /plugins/cargo/sdk/ at start. - sausage test-runner: one instance per test, in parallel, with its own mount table (empty world, package folder at its path); answers core.lock, core.unlock, core.notify, core.log. - The console: rustyline, notifications while typing, ls/cat through the process view, methods, ps, log, activate, revert, stop, kill. - core.notify on stdout is handled in order, before the response.
39 lines
1.0 KiB
TOML
39 lines
1.0 KiB
TOML
[package]
|
|
name = "sausage"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "Grow a system of WASI plugins by talking to it."
|
|
|
|
[[bin]]
|
|
name = "sausage"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
bytes = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
http = "1"
|
|
http-body-util = "0.1"
|
|
include_dir = "0.7"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
toml_edit = "0.25"
|
|
wasmtime = "49"
|
|
wasmtime-wasi = "49"
|
|
wasmtime-wasi-http = "49"
|
|
|
|
uuid = { version = "1", features = ["v7"] }
|
|
sha2 = "0.10"
|
|
rusqlite = { version = "0.38", features = ["bundled"] }
|
|
sausage-vfs = { version = "0.1.0", path = "../vfs" }
|
|
sausage-interface = { version = "0.1.0", path = "../interface" }
|
|
notify = "8.2.0"
|
|
rustyline = "19"
|
|
nix = { version = "0.31.3", features = ["signal", "process"] }
|
|
|
|
[dev-dependencies]
|
|
hyper = { version = "1.12.0", features = ["server", "http1"] }
|
|
hyper-util = { version = "0.1.21", features = ["tokio"] }
|
|
sausage-interface = { path = "../interface" }
|