Sausage spike: host (broker, supervisors, commit-on-close fs, cargo actor, console), agent actor, examples

This commit is contained in:
2026-10-15 04:47:00 +01:00
commit 83bbbb33a8
29 changed files with 6602 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{
description = "Sausage: WASI actors with a message broker";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
rust-overlay.url = "github:oxalica/rust-overlay";
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { nixpkgs, rust-overlay, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; overlays = [ rust-overlay.overlays.default ]; };
rust = pkgs.rust-bin.stable.latest.default.override {
targets = [ "wasm32-wasip2" ];
extensions = [ "rust-src" ];
};
in {
devShells.${system}.default = pkgs.mkShell {
packages = [ rust pkgs.wasmtime pkgs.wasm-tools pkgs.pkg-config pkgs.openssl ];
shellHook = ''
export CARGO_HOME="$PWD/.cargo-home"
'';
};
};
}