---
title: "Rust SDK reference"
description: "This reference covers the Dex Rust SDK. Check the SDK version your application"
canonical_url: "https://docs.superdurable.io/zh-Hans/reference/rust/1.37.x/"
source: "docs/reference-rust_versioned_docs/version-1.37.x/index.mdx"
locale: "zh-Hans"
---

# Rust SDK reference

This reference covers the Dex Rust SDK. Check the SDK version your application
uses before you rely on a detail:

```bash
cargo tree --package dex-sdk --depth 0
```

## Install

The Rust SDK is the crate **dex-sdk**. Pin an exact release in **Cargo.toml**:

```toml
dex-sdk = "=1.37.0"
```

The crate requires Rust 1.97 or newer. Releases use the tag
**sdk-rust/vX.Y.Z**.

## Supported versions

| SDK minor        | Server requirement                                                                                     |
| ---------------- | ------------------------------------------------------------------------------------------------------ |
| 1.37, 1.35       | server-zd 0.1.17 or newer (protocol version 4)                                                         |
| 1.31, 1.26, 1.25 | See the [compatibility matrix](https://docs.superdurable.io/zh-Hans/reference.md#compatibility-matrix) |

Minor numbers follow the shared Dex release train. A missing minor means the
Rust SDK did not change in that release.

## API reference

Read the [SDK 1.37.0 API reference](https://docs.rs/dex-sdk/1.37.0/dex_sdk/) on docs.rs.

Earlier versions: [1.35.0](https://docs.rs/dex-sdk/1.35.0/dex_sdk/), [1.31.0](https://docs.rs/dex-sdk/1.31.0/dex_sdk/), [1.26.0](https://docs.rs/dex-sdk/1.26.0/dex_sdk/), [1.25.0](https://docs.rs/dex-sdk/1.25.0/dex_sdk/).

## Pages

- [Flows and Steps](https://docs.superdurable.io/zh-Hans/reference/rust/1.37.x/flows-and-steps.md): Flow and Step behavior
  with Rust code: start options, waits, Step decisions, Step options, and
  failure handling.
- [Workers](https://docs.superdurable.io/zh-Hans/reference/rust/1.37.x/workers.md): Rust names for Worker readiness,
  capacity, and shutdown settings.

## Release notes

See the [sdk-rust releases](https://github.com/superdurable/dex/releases?q=sdk-rust\&expanded=true)
on GitHub.
