Rust for simple tasks

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • rust-script

    Run Rust files and expressions as scripts without any setup or compilation step.

    In general, I try to err on the side of picking Rust. rust-script makes this more viable in places. Error reporting is still not great, though I haven't looked into libraries like eyre. It's really hard to argue with an ad-hoc Cargo.toml at the top of your file for dependency management. Much better than having a Python script knocking around with undocumented dependencies.

  • dotfiles

    My configuration files and personal collection of scripts. (by BurntSushi)

    Sometimes, yes. Example: https://github.com/BurntSushi/dotfiles/tree/master/bin/rust/setup-system-links

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • vcr

    A simple wrapper tool around ffmpeg to capture video from a VCR. (by BurntSushi)

  • rust-cli-boilerplate

    Rust project boilerplate for CLI applications

    I put together this project boilerplate but, now, I'm exploring building a set of Vim snippets so I can use rust-script as my starting point and migrate to the project boilerplate later.

  • cargo-script

    Cargo script subcommand

    when I first started using rust, I knew python a lot better so I would write scripts with python. at this point though, I write a lot more rust than python these days, so I'll write pretty much everything with rust. cargo-script is a useful tool for this, as well as the self-compiling script: https://neosmart.net/blog/2020/self-compiling-rust-code/

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts