botstadia-interface 0.1.0

BotStadia's shared contracts: arena and agent WIT worlds, arena declarations, payloads, replay archives, metrics files and player messages.
Documentation
//! BotStadia's shared contracts.
//!
//! - [`declaration`]: what an arena says about itself, and its checks
//! - [`payload`]: the per-turn input and output encoding, and the host's
//!   validity rule for an output
//! - [`archive`]: the replay archive the player reads
//! - [`metrics`]: the metrics file the site reads
//! - [`copy`]: an arena's `arena.toml`, its site copy
//! - [`player`]: the messages between the site and an arena's player
//!
//! The WIT worlds ship in `wit/`: `botstadia:arena` for arenas' engines and
//! `botstadia:agent` for bots. Features generate bindings for them:
//! `arena-guest`, `agent-guest` and `host`.

pub mod archive;
pub mod copy;
pub mod declaration;
pub mod metrics;
pub mod payload;
pub mod player;

#[cfg(any(feature = "arena-guest", feature = "agent-guest", feature = "host"))]
pub mod bindings;