# Rust API

> Generated reference for the zaun-client, zaun-bot and zaun-community-protocol crates.

The Rust reference is generated from each crate's documentation on every deploy and every day:

| Crate | What it is | Browse |
|---|---|---|
| `zaun-client` | the client library for apps and external bots | [pages](/docs/reference/rust/zaun-client/) · [rustdoc HTML](/docs/api/rust/zaun-client/zaun_client/index.html) |
| `zaun-bot` | the SDK for hosted bots (built for `wasm32-wasip2`) | [pages](/docs/reference/rust/zaun-bot/) · [rustdoc HTML](/docs/api/rust/zaun-bot/zaun_bot/index.html) |
| `zaun-community-protocol` | the protocol: ids, messages, commands, events, permissions, signatures | [pages](/docs/reference/rust/zaun-community-protocol/) · [rustdoc HTML](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/index.html) |

- **Pages** are one per public struct, enum, trait, function and type, with signatures, docs, fields,
  variants and methods. They are searchable here and available as Markdown for AI tools.
- **rustdoc HTML** is the full output of `cargo doc`, with source links and rustdoc's own search.

> **Note**
>
> If the pages above are missing, this build ran without the generated reference (a local preview).
> Run `npm run gen` to generate it.
