0.1.4 |
|
---|---|
0.1.3 |
|
0.1.2 |
|
0.1.1 |
|
0.1.0 |
|
#71 in #grpc-client
135KB
3K
SLoC
nakama-rust-gen
gRPC client code for Nakama Server.
Using hyperium/tonic.
Usage
See example tests/auth.rs
[dependencies]
rust-nakama-gen = "0.1"
tonic = "0.4"
tokio = { version = "1.0.2", features = ["rt-multi-thread", "time", "fs", "macros", "net"] }
Update
Depends on heroiclabs/nakama as git submoudle.
git clone https://github.com/harumaxy/nakama-rust-gen.git
git submodule update
cargo build
Then, cargo runs build script (build.rs
) and client code geneated into src/gen
Dependencies
~8.5MB
~148K SLoC