Skip to content

no8ody/iota

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 68.4%
  • Move 17.6%
  • TypeScript 12.1%
  • Solidity 0.7%
  • Python 0.5%
  • Shell 0.3%
  • Other 0.4%