Building My First Command Line Interface (CLI) with Rust

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • engram-cli

    After telling myself over and over that today is the day I start learning rust. I finally successfully built a (very small) cli for engram.

  • Cargo

    The Rust package manager

    # Cargo.toml [package] name = "eg" version = "0.1.0" edition = "2021" # See more keys and their definitions at [https://doc.rust-lang.org/cargo/reference/manifest.html](https://doc.rust-lang.org/cargo/reference/manifest.html) [dependencies] reqwest = { version = "0.11", features = ["json", "cookies"] } tokio = { version = "1", features = ["full"] }

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

    This is where the tokio library comes in to play. We add it to the Cargo.toml under [dependencies] .

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