[Blog post]: Scaling Rust builds with Bazel

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ic

    Internet Computer blockchain source: the client/replica software run by nodes

    Yes, non-rust dependencies can be a pain. We addressed this issue in three ways: 1. Sometimes, it just works™ if the crate has a copy of the C code and uses the cc crate to compile it. It's usually slow to compile C in a build script, but it works. 2. Sometimes, we write a custom BUILD script for direct dependencies and link external libraries by hand. Example: lmdb and lmdb-sys. 3. If all of the above is not an option or is too much work, we add a native library to the Docker container that runs our builds.

  • swc

    Rust-based platform for the Web

    I've been thinking this too time to time and tried to apply some poc to one of the codebase (https://github.com/swc-project/swc) but wasn't able to make notable progress. There were couple of reasons and curious how you could solve it.

  • 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.

  • cargo2nix

    Granular builds of Rust projects for Nix

    We used cargo2nix to generate top-level Cargo.nix file that we committed to the repository (we didn't allow generating nix files on CI for security and reproducibility reasons).

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