boon-proto
Pre-generated Rust types for Deadlock's protobuf definitions, used by the Boon demo parser.
Overview
This crate contains auto-generated Rust code produced by prost from Valve's .proto files shipped with Deadlock. The generated output lives in src/proto.rs and is checked into version control so that downstream crates can build without needing protoc.
Installation
[]
= "0.1"
Usage
use proto;
// Access Deadlock protobuf message types
let header = default;
let event = default;
Regenerating
When upstream .proto files change (e.g. after a Deadlock update), regenerate using the scripts in the Boon repository:
# Fetch latest protos from SteamDatabase
# Regenerate src/proto.rs
Version tracking
The [package.metadata.boon-proto] section in Cargo.toml records the Deadlock client/server version the protos were extracted from.
License
MIT — see LICENSE for details.