{
  "slug": "sdk/rust",
  "title": "Rust SDK",
  "description": "Send Cuitty events from Rust with an async tokio-friendly client.",
  "url": "https://cuitty.com/docs/sdk/rust",
  "markdown_url": "https://cuitty.com/docs/sdk/rust.md",
  "json_url": "https://cuitty.com/docs/sdk/rust.json",
  "frontmatter": {
    "title": "Rust SDK",
    "description": "Send Cuitty events from Rust with an async tokio-friendly client.",
    "order": 4,
    "section": "SDK",
    "updatedAt": "2026-04-27"
  },
  "headings": [
    {
      "depth": 1,
      "slug": "rust-sdk",
      "text": "Rust SDK"
    },
    {
      "depth": 2,
      "slug": "planned-api",
      "text": "Planned API"
    },
    {
      "depth": 2,
      "slug": "live-performance-numbers",
      "text": "Live performance numbers"
    },
    {
      "depth": 2,
      "slug": "see-also",
      "text": "See also"
    }
  ],
  "body_markdown": "# Rust SDK\n\n> **Status: Preview.** The Rust SDK is on the Phase 3 roadmap.\n\n## Planned API\n\n```rust\nlet c = cuitty::Client::new(cuitty::Config {\n    portal_url,\n    project_id,\n    api_key,\n});\n\nc.audit(cuitty::AuditEvent {\n    actor:    \"alice@example.com\".into(),\n    action:   \"secret.rotate\".into(),\n    resource: \"stripe.live_key\".into(),\n}).await?;\n```\n\nUse the [wire protocol](/docs/reference/wire-protocol) and `reqwest` + `hmac` until the typed client lands.\n\n## Live performance numbers\n\nSee live benchmarks at [https://benchmarks.cuitty.com/sdks/rust](https://benchmarks.cuitty.com/sdks/rust).\n\n## See also\n\n- [Wire protocol](/docs/reference/wire-protocol)\n- [SDK parity & divergence](/docs/sdk/parity)",
  "links_out": [
    "/docs/reference/wire-protocol",
    "https://benchmarks.cuitty.com/sdks/rust",
    "/docs/sdk/parity"
  ]
}