iotaledger/iota

Bringing the real world to Web3 with a scalable, decentralized and programmable DLT infrastructure.

Rust

110

17,996 commits

updated Sep 22, 2026

See the code

README

IOTA

IOTA is a asset-oriented programming model powered by the Move programming language. IOTA is a project under active development by the IOTA Foundation.

Setup

Conventions

The Rust language conventions used in this repository can be found in Rust Conventions.

Formatting

Rust

In order to use the unstable features specified in rustfmt.toml, you must have the correct nightly toolchain component installed.

rustup toolchain install nightly --component rustfmt --allow-downgrade

This can be used regardless of the default toolchain to format the code using the following command.

cargo +nightly fmt

TOML

In order to format toml files, we use dprint. It can be installed either via npm or via cargo.

cargo install dprint

or

npm install -g dprint

Simply run dprint fmt in the root of the repository to format all applicable files. Similarly, run dprint check to check whether all files are correctly formatted.

IDE Configuration

For convenience, it is recommended that developers configure their IDEs to automatically format files on save.

VS Code

settings.json

{
  "[rust]": {
    "editor.formatOnSave": true,
  },
  "rust-analyzer.rustfmt.extraArgs": [
    "+nightly"
  ]
}

Contributors

(top 30 of 334)

lxfind

892 commits

huitseeker

580 commits

bmwill

578 commits

dependabot[bot]

549 commits

iotaledger/iota

Bringing the real world to Web3 with a scalable, decentralized and programmable DLT infrastructure.

Rust

110

17,996 commits

updated Sep 22, 2026

See the code

README

IOTA

IOTA is a asset-oriented programming model powered by the Move programming language. IOTA is a project under active development by the IOTA Foundation.

Setup

Conventions

The Rust language conventions used in this repository can be found in Rust Conventions.

Formatting

Rust

In order to use the unstable features specified in rustfmt.toml, you must have the correct nightly toolchain component installed.

rustup toolchain install nightly --component rustfmt --allow-downgrade

This can be used regardless of the default toolchain to format the code using the following command.

cargo +nightly fmt

TOML

In order to format toml files, we use dprint. It can be installed either via npm or via cargo.

cargo install dprint

or

npm install -g dprint

Simply run dprint fmt in the root of the repository to format all applicable files. Similarly, run dprint check to check whether all files are correctly formatted.

IDE Configuration

For convenience, it is recommended that developers configure their IDEs to automatically format files on save.

VS Code

settings.json

{
  "[rust]": {
    "editor.formatOnSave": true,
  },
  "rust-analyzer.rustfmt.extraArgs": [
    "+nightly"
  ]
}

Contributors

(top 30 of 334)

lxfind

892 commits

huitseeker

580 commits

bmwill

578 commits

dependabot[bot]

549 commits

Languages

Rust

74.3%

Move

16.9%

C

5.4%

Python

1.4%

TypeScript

1.0%