| Crates.io | pokemon-go-protobuf |
| lib.rs | pokemon-go-protobuf |
| version | 0.1.4 |
| created_at | 2016-07-28 20:26:41.152061+00 |
| updated_at | 2016-08-30 06:49:50.533144+00 |
| description | Pokemon Go proto buffer types. |
| homepage | |
| repository | https://github.com/rockneurotiko/pokemon-go-protobuf-rs |
| max_upload_size | |
| id | 5812 |
| size | 3,946,430 |
Rust library for Pokemon Go proto buffer files, exported from the awesome protos of https://github.com/AeonLucid/POGOProtos
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
}
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