capsule-runtime 0.11.0

The runtime that executes Murmur capsules. Runs packaged AI agents in isolation, enforcing WASI capability grants on a Wasmtime component sandbox.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "capsule-runtime"
version = "0.11.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 = []
escape-probe = []

[lib]
name = "capsule_runtime"
path = "src/lib.rs"

[[test]]
name = "child_launch"
path = "tests/child_launch.rs"

[[test]]
name = "child_signal_disposition"
path = "tests/child_signal_disposition.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.futures-util]
version = "0.3"

[dependencies.getrandom]
version = "0.4"

[dependencies.hickory-resolver]
version = "0.26"

[dependencies.hmac]
version = "0.12"

[dependencies.http]
version = "1"

[dependencies.http-body]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.libc]
version = "0.2"

[dependencies.murmur-artifact]
version = "0.11.0"

[dependencies.postcard]
version = "1.1.3"
features = ["use-std"]
default-features = false

[dependencies.ring]
version = "0.17"
default-features = false

[dependencies.rustix]
version = "1"
features = [
    "fs",
    "process",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_norway]
version = "0.9.42"

[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 = "48.0.6"
features = [
    "runtime",
    "cranelift",
    "component-model",
    "async",
    "std",
    "parallel-compilation",
]
default-features = false

[dependencies.wasmtime-wasi]
version = "48.0.6"
features = ["p2"]
default-features = false

[dependencies.wasmtime-wasi-http]
version = "48.0.6"
features = ["default-send-request"]

[dependencies.zip]
version = "9"
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 = "6"
features = ["default-rt"]
default-features = false

[lints.clippy]
print_stderr = "deny"
print_stdout = "deny"