Our great sponsors
-
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.)
-
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.
-
sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL. (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.
-
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