Protobufs for steam-vent
Find a file
2025-10-18 20:57:54 +02:00
.forgejo/workflows initial import from steam-vent repo 2025-09-07 22:35:14 +02:00
build Clean up generated files before regenerating 2025-10-18 20:05:10 +02:00
common move GCHandshake trait to proto-common 2025-10-18 03:10:11 +05:00
src initial import from steam-vent repo 2025-09-07 22:35:14 +02:00
steam Update to latest proto definitions from SteamDatabase/Protobufs 2025-10-18 20:03:34 +02:00
.envrc initial import from steam-vent repo 2025-09-07 22:35:14 +02:00
.gitignore initial import from steam-vent repo 2025-09-07 22:35:14 +02:00
Cargo.lock initial import from steam-vent repo 2025-09-07 22:35:14 +02:00
Cargo.toml initial import from steam-vent repo 2025-09-07 22:35:14 +02:00
flake.lock initial import from steam-vent repo 2025-09-07 22:35:14 +02:00
flake.nix initial import from steam-vent repo 2025-09-07 22:35:14 +02:00
README.md Update README.md 2025-10-18 19:28:31 +02:00

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::*;