In a backend Rust environment, you can use the privy-rs crate to authorize requests and manage your application from your server. This library includes helpful utilities around verifying access tokens issued by Privy and interacting with Privy’s API to query and import users, create wallets, manage invite lists, and more. Add the Privy Rust SDK to your Cargo.toml:
Cargo.toml
[dependencies]
privy-rs = "0.1.0-alpha"
Alternatively, you can add it using cargo add:
cargo add privy-rs
The Privy Rust SDK requires Rust 1.88 or later and uses tokio / reqwest as its async runtime and HTTP client.