Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
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)
Excuse me sir, do you have a moment to talk about our lord and savior, Nix?
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.)
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.
You can use cargo-binstall --install-path to install binaries to custom locations.
Related posts
- Is it possible to get fast Rust compiles in a Docker container?
- GitHub - gluesql/gluesql: SQL Database Engine as a Library
- GlueSQL: A SQL database engine written as a library in Rust
- GlueSQL v0.13 Release - 🌟 FSM based SQL query builder is newly added
- Rust Environment and Docker Build with Nix Flakes