fauna-api 1.0.816

The Fauna SDK for Rust: accounts, Drive, groups, calendar, chats, payments, Parrot and live rooms.
Documentation

fauna-api

The Fauna SDK for Rust. It mirrors the fauna-api npm package function for function, and both are released together with the same version.

[dependencies]
fauna-api = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
use fauna_api::authentification;

#[tokio::main]
async fn main() -> fauna_api::Result<()> {
    let key = authentification::authorize_api_key("sk-...").await?;
    println!("balance: {}", key.balance);
    Ok(())
}

Calls go to https://api.faunakit.com. Point them at another stack with fauna_api::set_route("http://localhost:32862").

Guides and the API reference are at docs.faunakit.com.