pokemon-go-protobuf

Crates.iopokemon-go-protobuf
lib.rspokemon-go-protobuf
version0.1.4
sourcesrc
created_at2016-07-28 20:26:41.152061
updated_at2016-08-30 06:49:50.533144
descriptionPokemon Go proto buffer types.
homepage
repositoryhttps://github.com/rockneurotiko/pokemon-go-protobuf-rs
max_upload_size
id5812
size3,946,430
Rock Neurotiko (rockneurotiko)

documentation

https://github.com/rockneurotiko/pokemon-go-protobuf-rs/README.md

README

Pokémon Go Protobuffers for Rust

Crates.io

Rust library for Pokemon Go proto buffer files, exported from the awesome protos of https://github.com/AeonLucid/POGOProtos

Usage

  • First of all, add this crate to your dependencies in the Cargo.toml file (replace * with the version you want):

    [dependencies]
    pokemon-go-protobuf = "*"
    
  • Use it!

    extern crate pokemon_go_protobuf;
    
    use pokemon_go_protobuf::POGOProtos_Data::PlayerData;
    
    pub fn main() {
        let x = PlayerData::new();
        // Start using the protobuf structs to encode/decode
    }
    

Update this repository

  • Install protobuf 3 and rust-protobuf (cargo install protobuf)

  • Update the submodule

    git submodule init
    git submodule update
    cd POGOProtos
    git pull
    cd ..
    
  • Execute ./compile.sh

Commit count: 12

cargo fmt