cargo.build and the runner (review T22R): builds use the network again; core.unlock and core.notify in order under the runner; quiet test output; manifest preparation keeps [workspace], target tables, renamed and optional entries; cargo.rpc.discover; -32004 with data.output; retention of 10 builds; light, empty test worlds with an in-memory journal; only CARGO_/RUST_/SAUSAGE_ variables; stdin is null; the runner through --config. A compile cache that cannot be created is not fatal. Activation replaces plugin.wasm without a gap. Console and main: init ships the workspace Cargo.lock and creates the world atomically; each console command runs in its own task, so ps, stop, and kill work during a slow call; SAUSAGE_HEADLESS; the terminal mode is restored; signals during boot; chat text is not taken as a command. Tests: 20 more tests for PROTOCOL.md sections 2 to 10; the cargo tests choose the libtest binary from cargo's JSON output and time out.
41 lines
1.1 KiB
TOML
41 lines
1.1 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", "env"] }
|
|
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", "term"] }
|
|
chrono = { version = "0.4.42", default-features = false, features = ["clock"] }
|
|
tempfile = "3.27.0"
|
|
|
|
[dev-dependencies]
|
|
hyper = { version = "1.12.0", features = ["server", "http1"] }
|
|
hyper-util = { version = "0.1.21", features = ["tokio"] }
|
|
sausage-interface = { path = "../interface" }
|