- /proc is a core layer: core/ (PROTOCOL.md, graph.json, graph.dot, locks.json, plugins/<name>/discover.json and client.rs) and one folder per process (info.json, log, and its /self files). - Locks are released only after the task ended, the store dropped, and in-flight file operations returned. - core.activate and core.revert with copies, discovery, compatibility checks of imports and consumers, groups, force. An admission gate makes the snapshot of old processes complete. - Graph of discover documents by hash, refreshed by a file watcher. - Upgrades: grace periods (x-sausage-grace), stop, service restarts, rpc.retired. - SDK plugins in the real core (cli/tests/sdk.rs).
35 lines
827 B
TOML
35 lines
827 B
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"
|
|
|
|
[dev-dependencies]
|
|
sausage-interface = { path = "../interface" }
|