Our great sponsors
-
sccache
Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
Check out sccache. Use CARGO_TARGET_DIR to provide a space where compilation happens across multiple projects (and therefore can be reused). I set my CARGO_TARGET_DIR to a /tmp folder. Depending on your size of RAM, you could set it to a ramdisk.
-
One trick is using a faster linker- try mold if you can.
-
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.
-
fleet is an awesome tool for faster builds for non-production purposes. In some cases it gave me 10-15x compilation speed.
-
Also check out cargo-watch -- https://crates.io/crates/cargo-watch
-
Might've been hit by https://github.com/rust-lang/rust-analyzer/issues/6136 One workaround is to https://www.reddit.com/r/rust/comments/zxep9p/reduce_build_times/j21k62a/
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.