#grpc-client #server #nakama #hyperium-tonic

yanked nakama-rust-gen

gRPC client code for Nakama Server

0.1.4 Jan 24, 2021
0.1.3 Jan 24, 2021
0.1.2 Jan 22, 2021
0.1.1 Jan 22, 2021
0.1.0 Jan 22, 2021

#71 in #grpc-client

MIT license

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