[package]
edition = "2024"
rust-version = "1.97"
name = "sprawling-runtime"
version = "0.0.11"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One run of a sprawling resident, from dispatch to freeze: turns, tools, replay and the sandbox that executes code."
homepage = "https://github.com/2youg1/sprawling-agents"
readme = false
license = "MPL-2.0"
repository = "https://github.com/2youg1/sprawling-agents"
[features]
conformance = ["kernel/conformance"]
wasm = [
"dep:wasmtime",
"dep:wasmtime-wasi",
]
[lib]
name = "runtime"
path = "src/lib.rs"
[[test]]
name = "backlog"
path = "tests/backlog.rs"
[[test]]
name = "create_limit"
path = "tests/create_limit.rs"
[[test]]
name = "exec_background"
path = "tests/exec_background.rs"
[[test]]
name = "exec_builds"
path = "tests/exec_builds.rs"
[[test]]
name = "reminder"
path = "tests/reminder.rs"
[[test]]
name = "replay_fork"
path = "tests/replay_fork.rs"
[[test]]
name = "run_driver"
path = "tests/run_driver.rs"
[[test]]
name = "sandbox_a10"
path = "tests/sandbox_a10.rs"
[[test]]
name = "trybuild"
path = "tests/trybuild.rs"
[dependencies.base64]
version = "0.23"
[dependencies.child]
version = "=0.0.11"
package = "sprawling-child"
[dependencies.kernel]
version = "=0.0.11"
package = "sprawling-kernel"
[dependencies.png]
version = "0.18"
[dependencies.same-file]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.storage]
version = "=0.0.11"
package = "sprawling-storage"
[dependencies.toml]
version = "1.1"
[dependencies.wasmtime]
version = "48.0.3"
features = [
"cranelift",
"runtime",
"std",
]
optional = true
default-features = false
[dependencies.wasmtime-wasi]
version = "48.0.3"
optional = true
[dev-dependencies.insta]
version = "1"
default-features = false
[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.trybuild]
version = "1"
[dev-dependencies.wat]
version = "1"
[target."cfg(windows)".dependencies.desktop_ffi]
version = "=0.0.11"
package = "sprawling-desktop-ffi"
[target."cfg(windows)".dependencies.find-msvc-tools]
version = "0.1.14"
[target."cfg(windows)".dependencies.win32job]
version = "2.0.3"
[lints.clippy]
arithmetic_side_effects = "deny"
as_conversions = "deny"
dbg_macro = "deny"
expect_used = "deny"
fn_params_excessive_bools = "deny"
indexing_slicing = "deny"
let_underscore_must_use = "deny"
let_underscore_untyped = "deny"
panic = "deny"
string_slice = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(kani)"]