---
title: Rust SDK
description: Send Cuitty events from Rust with an async tokio-friendly client.
section: SDK
order: 4
updatedAt: 2026-04-27
slug: sdk/rust
---
# Rust SDK

> **Status: Preview.** The Rust SDK is on the Phase 3 roadmap.

## Planned API

```rust
let c = cuitty::Client::new(cuitty::Config {
    portal_url,
    project_id,
    api_key,
});

c.audit(cuitty::AuditEvent {
    actor:    "alice@example.com".into(),
    action:   "secret.rotate".into(),
    resource: "stripe.live_key".into(),
}).await?;
```

Use the [wire protocol](/docs/reference/wire-protocol) and `reqwest` + `hmac` until the typed client lands.

## Live performance numbers

See live benchmarks at [https://benchmarks.cuitty.com/sdks/rust](https://benchmarks.cuitty.com/sdks/rust).

## See also

- [Wire protocol](/docs/reference/wire-protocol)
- [SDK parity & divergence](/docs/sdk/parity)