AnneKitsune / nakama-rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nakama-rs

Simple Bindings to the Nakama library!

Read the documentation.

Why would you use this library?

  • Easy access to Nakama's API.
  • Usable with the async/future library of your choice.
  • Minimal dependencies.
  • Safe: no unsafe calls!

Usage

Add the following to you Cargo.toml file:

nakama-rs = "*"

Use it like so:

use nakama_rs::*;
fn main() {
    let mut client = ApiClient::new("defaultkey", "127.0.0.1", 7350, "http");
    client.authenticate("email@email.com", "password");
    client.tick();
}

For more examples, see the documentation and examples.

About

License:Apache License 2.0


Languages

Language:Rust 100.0%