luckperms-rs

Crates.ioluckperms-rs
lib.rsluckperms-rs
version0.1.0
sourcesrc
created_at2023-08-15 12:45:35.210268
updated_at2023-08-15 12:45:35.210268
descriptionA Rust library for interacting with the LuckPerms REST API.
homepage
repositoryhttps://github.com/jaapieaapie1/luckperms-rs
max_upload_size
id944966
size27,128
Jaap Elst (jaapieaapie1)

documentation

README

LuckPerms-rs

This is developed for personal use, and thus I will not be guaranteeing any support for this project.
Feel free to create pull requests if you want to contribute.

This library is a full implementation of the LuckPerms REST API in Rust.
Documentation is limited, but it should be fairly easy to use.

Usage

Add the following to your Cargo.toml:

[dependencies]
luckperms-rs = "0.1.0"

Example

use luckperms_rs::LuckPerms;

#[tokio::main]
async fn main() {
    let luckperms = LuckPerms::new("http://localhost:8080", "key").await.unwrap();
    let user = luckperms.get_user("uuid").await.unwrap();
    println!("{:?}", user);
}
Commit count: 5

cargo fmt