Skip to main content
You are viewing 1.37.x. The latest is 1.45.x.

Rust SDK reference

View as Markdown

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

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 minorServer requirement
1.37, 1.35server-zd 0.1.17 or newer (protocol version 4)
1.31, 1.26, 1.25See the 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 on docs.rs.

Earlier versions: 1.35.0, 1.31.0, 1.26.0, 1.25.0.

Pages​

  • Flows and Steps: Flow and Step behavior with Rust code: start options, waits, Step decisions, Step options, and failure handling.
  • Workers: Rust names for Worker readiness, capacity, and shutdown settings.

Release notes​

See the sdk-rust releases on GitHub.