LibreAuth Nut.exe Visit Website

Rust SDK

Rust 2021 · LibreAuth native client

Rust Rust 2021
POST https://libreauth.nutexe.dev/api/1.3/

Setup Guide

Add lib.rs to project · cargo add reqwest serde_json

  1. Panel → Manage Applications → copy name + ownerid
  2. API URL: https://libreauth.nutexe.dev/api/1.3/
  3. Source: rust/src/lib.rs
  4. Ed25519 key: /health · Response Signing
  5. Test: Live API · Init docs

Install / Dependencies

Terminal
cargo add reqwest serde_json
# Use sdk/rust/src/lib.rs

Code Example

Rust
let mut app = LibreAuth::new("AppName", "OWNER_ID_10", "1.0", "https://libreauth.nutexe.dev/api/1.3/");
app.init()?;
app.login("user", "pass", "HWID")?;