Skip to content

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

License

Apache-2.0, CC-BY-4.0 licenses found

Licenses found

Apache-2.0
LICENSE
CC-BY-4.0
LICENSE-docs
Notifications You must be signed in to change notification settings

iotaledger/iota

Folders and files

NameName
Last commit message
Last commit date

Latest commit

98a6820 · Nov 14, 2024
Oct 2, 2024
Nov 5, 2024
Nov 8, 2024
Nov 7, 2024
Aug 26, 2024
Jun 14, 2023
Nov 11, 2024
Sep 18, 2024
Jul 3, 2024
Nov 5, 2024
Nov 14, 2024
Oct 24, 2024
Mar 13, 2023
Oct 30, 2024
Nov 8, 2024
Nov 4, 2024
Oct 31, 2024
Nov 8, 2024
Nov 1, 2024
Jun 7, 2024
Oct 30, 2024
Nov 8, 2024
Nov 14, 2024
Jun 13, 2024
Mar 6, 2024
Jul 26, 2024
Jul 3, 2024
Oct 25, 2024
Aug 1, 2024
Jun 7, 2024
Jun 10, 2024
Aug 1, 2024
Jun 14, 2023
Jul 26, 2024
Oct 1, 2024
Sep 2, 2024
Nov 14, 2024
Nov 14, 2024
Apr 25, 2020
Apr 25, 2020
Jun 13, 2024
Jul 18, 2024
Jun 3, 2024
Jul 18, 2024
Oct 16, 2024
Nov 1, 2024
Oct 14, 2024
Jun 6, 2024
Oct 23, 2024
Nov 5, 2024
Nov 11, 2024
Jul 8, 2024
Sep 9, 2024
Oct 1, 2024
Nov 5, 2024
Apr 5, 2023

Repository files navigation

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"
  ]
}

About

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

Resources

License

Apache-2.0, CC-BY-4.0 licenses found

Licenses found

Apache-2.0
LICENSE
CC-BY-4.0
LICENSE-docs

Security policy

Stars

Watchers

Forks

Packages

No packages published