Skip to content

heroiclabs/nakama-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 protected]", "password");
    client.tick();
}

For more examples, see the documentation and examples. To run the examples, you need a local Nakama instance running. The easiest way is to run docker-compose up in the examples/ folder. For information on how to set up docker for usage with Nakama, see Docker quickstart.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages