#protobuf #generated #steam #steam-vent #steam-client

steam-vent-proto-steam

Protobuf structs used by the Steam client protocol for Steam

3 releases

0.5.2 Oct 19, 2025
0.5.1 Oct 18, 2025
0.5.0 Sep 29, 2024

#1559 in Game dev

Download history 22/week @ 2025-09-26 6/week @ 2025-10-03 10/week @ 2025-10-10 289/week @ 2025-10-17 19/week @ 2025-10-24 192/week @ 2026-01-02 65/week @ 2026-01-09

257 downloads per month
Used in 4 crates (via steam-vent-proto)

MIT license

22MB
452K SLoC

Protobufs for steam-vent

Sourced from https://github.com/SteamDatabase/Protobufs

Updating generated code

cd build
cargo r -- ../steam/{protos,src/generated}
cargo r -- ../../proto-csgo/{protos,src/generated}
cargo r -- ../../proto-dota2/{protos,src/generated}
cargo r -- ../../proto-tf2/{protos,src/generated}

Using custom protobufs

If you need to use protobufs that aren't packages by steam-vent, you can create a new package for the protobufs using the following steps:

  1. Create a new crate

  2. Add steam-vent-proto-common as a dependency

  3. Place the protobufs in src/protos

  4. Create an empty src/generated folder

  5. Either install steam-vent-proto-build trough cargo-install or clone this repo and build it from the build directory.

  6. Run steam-vent-proto-build path/to/src/protos path/to/src/generated

  7. Create src/lib.rs with the following contents:

    mod generated;
    
    pub use generated::*;
    

Dependencies