[package]
edition = "2024"
rust-version = "1.98"
name = "botstadia-interface"
version = "0.1.0"
build = false
include = [
"src/**",
"wit/**",
"README.md",
"Cargo.toml",
"LICENSE-MIT",
"LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "BotStadia's shared contracts: arena and agent WIT worlds, arena declarations, payloads, replay archives, metrics files and player messages."
homepage = "https://botstadia.com"
readme = "README.md"
keywords = [
"botstadia",
"robotics",
"wasm",
"simulation",
]
categories = [
"encoding",
"wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/botstadia/botstadia-interface"
[features]
agent-guest = ["dep:wit-bindgen"]
arena-guest = ["dep:wit-bindgen"]
default = []
host = ["dep:wasmtime"]
toml = ["dep:toml"]
[lib]
name = "botstadia_interface"
path = "src/lib.rs"
[dependencies.postcard]
version = "1.1"
features = ["alloc"]
default-features = false
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
[dependencies.toml]
version = "0.9"
optional = true
[dependencies.wasmtime]
version = "50.0.0"
features = [
"component-model",
"runtime",
]
optional = true
default-features = false
[dependencies.wit-bindgen]
version = "0.63.0"
optional = true
[dev-dependencies.toml]
version = "0.9"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"