[package]
edition = "2021"
name = "capsule-runtime"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The runtime that executes Murmur capsules. Runs packaged AI agents in isolation, enforcing WASI capability grants on a Wasmtime component sandbox."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/murmur-nexus/murmur"
[features]
alloc-bench = []
[lib]
name = "capsule_runtime"
path = "src/lib.rs"
[[test]]
name = "child_launch"
path = "tests/child_launch.rs"
[[test]]
name = "closed_stdout"
path = "tests/closed_stdout.rs"
[[test]]
name = "completion_path"
path = "tests/completion_path.rs"
[[test]]
name = "host_probe"
path = "tests/host_probe.rs"
[[test]]
name = "plan_execution"
path = "tests/plan_execution.rs"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"std",
]
default-features = false
[dependencies.getrandom]
version = "0.4"
[dependencies.hickory-resolver]
version = "0.26"
[dependencies.hmac]
version = "0.12"
[dependencies.http]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
default-features = false
[dependencies.libc]
version = "0.2"
[dependencies.murmur-artifact]
version = "0.4.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.tiktoken-rs]
version = "0.5"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"net",
"sync",
"io-util",
"macros",
"time",
"fs",
"process",
"signal",
]
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
]
[dependencies.wasmtime]
version = "46"
features = [
"runtime",
"cranelift",
"component-model",
"async",
"std",
]
default-features = false
[dependencies.wasmtime-wasi]
version = "46"
features = ["p2"]
default-features = false
[dependencies.wasmtime-wasi-http]
version = "46"
features = ["default-send-request"]
[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.wat]
version = "=1.251.0"
[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "0.4"
[target.'cfg(target_os = "linux")'.dependencies.libseccomp]
version = "0.4"
[target.'cfg(target_os = "linux")'.dependencies.zbus]
version = "5"
features = [
"blocking-api",
"async-io",
]
default-features = false
[lints.clippy]
print_stderr = "deny"
print_stdout = "deny"