Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u32 = 0;
Expand description

Wire-format version, bumped on any breaking change to a type in this crate.

Stamped into save files and (eventually) exchanged with a remote host so a mismatch fails fast on an explicit check instead of surfacing as a confusing deserialization error deeper in the stack.