Skip to main content

With Identity Rust 0.6.3 and Wasm 0.6.1 a breaking change was introduced that requires a migration of existing Stronghold Snapshot files. You can find migration instructions here.

Version: 0.6

Getting Started with Rust


Include the Library

To include IOTA Identity in your project add it as a dependency in your Cargo.toml:

Latest Stable Release

This version is published to and is stable, following semantic versioning.

identity_iota = { version = "0.6" }

Development Release

This version matches the dev branch of this repository. It has all the latest features, but as such it may also have undocumented breaking changes.

identity_iota = { git = "", branch = "dev"}


To try out the examples, you should:

  1. Clone the repository:
git clone
  1. Build the repository:
cargo build
  1. Run your first example:
cargo run --example getting_started

API Reference

The API reference for the Rust library can be found on

If you would like to build the documentation locally you can do so with the following command:

RUSTDOCFLAGS='--cfg docsrs' cargo +nightly doc -p identity_iota --all-features --no-deps --open