
Official Rust SDK for Authon — Software Licensing & Authentication Platform
Website • Docs • Discord • Status
Add to Cargo.toml:
[dependencies]
authon = { git = "https://github.com/authonpro/sdk-rust" }use authon::Authon;
fn main() {
let mut auth = Authon::new("your-app-id", "your-api-key");
auth.init().unwrap();
let result = auth.login("username", "password", None).unwrap();
if result.success {
println!("Level: {}", auth.level);
}
auth.logout().unwrap();
}cargo run --example basic- 🌐 Website: https://authon.pro
- 📖 Docs: https://authon.pro/docs
- 💬 Discord: https://discord.gg/MTY79JDFm6
- 📊 Status: https://authon.pro/status
- 🔗 API Health: https://api.authon.pro/health
MIT