Install a CLI in a project (not globally)

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. nix

    Nix, the purely functional package manager

    Excuse me sir, do you have a moment to talk about our lord and savior, Nix?

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. cross

    “Zero setup” cross compilation and “cross testing” of Rust crates

    cargo install has no facility for per-project installation, but Rust binaries are statically linked aside from the C libraries they depend on, so it should work if you compilie the sqlx-cli binary against the oldest glibc you want to support (cross can help there) and then copy it to the other development machines through any means desired.)

  4. cargo-xtask

  5. sqlx

    🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)

    It doesn't allow you to install third-party binaries, but it allows you to make your own binaries runnable with something similar to npx. And, as sqlx-cli is also available as a library, you can make an xtask which just runs that.

  6. cargo-binstall

    Binary installation for rust projects

    You can use cargo-binstall --install-path to install binaries to custom locations.

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

  • Is it possible to get fast Rust compiles in a Docker container?

    11 projects | /r/rust | 28 Dec 2022
  • GitHub - gluesql/gluesql: SQL Database Engine as a Library

    1 project | /r/programming | 23 Oct 2022
  • GlueSQL: A SQL database engine written as a library in Rust

    1 project | /r/hypeurls | 22 Oct 2022
  • GlueSQL v0.13 Release - 🌟 FSM based SQL query builder is newly added

    2 projects | /r/rust | 18 Oct 2022
  • Rust Environment and Docker Build with Nix Flakes

    6 projects | dev.to | 18 May 2022

Did you know that Rust is
the 5th most popular programming language
based on number of references?