Skip to main content

Crate manabrew_protocol

Crate manabrew_protocol 

Source
Expand description

Engine-free DTOs shared by the game clients: decks, the game-domain types, prompts, display events and the agent transport envelopes. The relay wire protocol lives in manabrew-relay-protocol, which depends on this crate.

Re-exports§

pub use token::TokenScript;

Modules§

deck_dto
display
game
prompts
telemetry
How fast an engine answered, for one finished game.
token
transport

Constants§

VERSION
This crate’s version, which is also the version @manabrew/protocol publishes at: publish-protocol.yml reads it out of this crate’s Cargo.toml and passes it to npm version. The generated VERSION constant in the npm package is this string, so a consumer comparing VERSION against the version they installed gets a match.