> ## Documentation Index
> Fetch the complete documentation index at: https://build.onswig.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rust Packages

The Rust side of the Protocol SDK is for backend services, CLI tooling, and
lower-level protocol integrations.

## Main surfaces

| Surface              | Use it for                                                       |
| :------------------- | :--------------------------------------------------------------- |
| `swig-sdk`           | Rust integrations that need direct wallet and instruction access |
| instruction builders | constructing protocol instructions in typed Rust code            |
| `swig-cli`           | terminal workflows, testing, and automation                      |

## What you can do here

* build protocol instructions in Rust
* compose and sign wallet transactions
* inspect wallet state and account data
* automate protocol operations from a CLI or backend service

## Code references

* [Instruction Builder and Rust Wallet Source](https://github.com/anagrambuild/swig-wallet/tree/main/rust-sdk)
* [Swig CLI Documentation](https://github.com/anagrambuild/swig-wallet/blob/main/cli-x/README.md)
* [Rust SDK Documentation](https://github.com/anagrambuild/swig-wallet/tree/main/docs/rust-sdk)

## Start in the right place

* Use [Instruction Builder](/reference/rust/instruction_builder) if you need to
  construct protocol instructions directly.
* Use [Rust Wallet](/reference/rust/rust_wallet) if you need wallet-oriented
  Rust flows.
