User Tools

Site Tools


ressources:rust_tooling

Rust tooling & environment

[ INTRO ] - [ ADVANCED ] - [ TOOLING ] - [ VIDS TUTO ] - [ PROJECTS ] - [ HARDW ] - [ PEOPLE ] - [ * ]

Dev tools

IDE

CLI tools

Rust specific

CLI tools

  • sn .. fast “du” and build-artefacts cleaner (cargo install tin-summer) ⇒ sn clean
    • also cargo sweep, a build cleaner (cargo install cargo-sweep) ⇒ cargo sweep -r -t 30 ~/dev
  • crates-io-cli …interact with crates.io from the command-line (cargo install crates-io-cli) ⇒ crates –help

Cargo “modules”

  • cargo edit .. cargo ext to edit toml file (cargo install cargo-edit)
  • cargo update .. update cargo commands 'cargo install-update -a –force' to update all cargo binaries (cargo install cargo-update)
  • cargo modules .. cargo modules to list project modules, cargo modules tree, cargo modules graph | dot -Tpng > modules.png to generate dot file (cargo install cargo-modules)
  • git ignore .. generate .gitignore files, git ignore get rust intellij+all (cargo install git-ignore-generator)
  • cargo install cargo-asm .. show ASM code ⇒ cargo asm lib_crate::bar::double_n –rust

Cargo “components”

  • rustup component add clippy .. cargo clippy
  • rustup component add rls .. for IDEs
  • rustup component add fmt .. formatting

Compiling

<note> cargo install cargo-watch
cargo new rusty_iron
cd rusty_iron
cargo watch -x run
</note>

Un*x CLI

cf CLIRust @twitter

  • alacritty .. light fast terminal
  • fd .. gnu find on steroid (gère git, ..)
  • riggrep .. fastest grep finder on earth (cargo install ripgrep)
  • mdcat .. cat for md files, with images! (cargo install mdcat)
  • bat .. cat with wings (cargo install bat)
  • tealdeer .. display command usage, tldr community manpages way! (cargo install tealdeer)
  • gcsf .. fuse filesystem for googledrive
  • dashr .. LAN neighbourhood discovery (sudo dashr wl0 | while read line ; do echo $line | espeak ; done)
  • pijul .. advanced and distributed version control (sound patch theory) (cargo new my-project –vcs=pijul)
  • termpix .. display images in terminal
  • viu .. display animated gif (+distant) in terminal
  • svg bob editor …ascii diagrams ⇒ SVG
  • exa .. ls replacement (cargo install exa)
  • lsd ..next-gen ls (cargo install lsd)
  • amp .. vi-like editor (cargo install amp)
  • shoop .. scp like mosh (beta) (cargo install shoop)
  • thumbcloud .. easy file sharing with web page
  • hors .. hors “how to parse json in rust” -a (cargo install hors)
  • bottom .. Yet another cross-platform graphical process/system monitor (cargo install bottom)
  • dust .. du with gfx
  • cargo install-update -a to update them all after installing cargo install install-update !
  • cargo install –list list installed packages

Libraries / Apps / Projects

Libs/apps list

Big projects

Multimedia frameworks

  • RinArturo's (from OpenFrameworks) own multimedia framework
  • Nannou … multimedia programming framework (ala openframeworks) [ Slack ]
  • Amethyst … aims to be a supercharged game engine
  • Ggez …Löve game framework for Rust (2D/3D)
  • Three-rs … Threejs in Rust (defunct?)
  • Kiss3d … simple 3D env, plus compile to Wasm (defunct?)

Games/Apps

Discussion

Enter your comment. Wiki syntax is allowed:
 
ressources/rust_tooling.txt · Last modified: 2020/07/26 19:17 (external edit)