brr

Crates.iobrr
lib.rsbrr
version0.0.21
sourcesrc
created_at2021-09-16 20:46:59.836473
updated_at2021-10-20 20:49:08.056385
descriptionUse a cloud build farm to make rust builds fast.
homepage
repository
max_upload_size
id452490
size134,558
Kevin King (kcking)

documentation

README

brr

A dead-simple, ultra-fast build farm for Rust

Overview

Brr is the Buildrecall CLI. If you're not familiar with Buildrecall, we make your builds run really fast.

Features:

  • 48 CPU cores, 192 GiB RAM
  • Starts your build incrementally while you're programming.
  • Use your existing CI, just replaces your build step.

Install

cargo install brr

Usage

Login to Buildrecall with a bash-history safe token you can get here.

brr login <token>

Attach a build farm to a repository on your local development environment.

# ./my-rust-project
brr attach my-rust-project

Create a job you'd like to run in the buildrecall.toml that was just created:

[project]
name = 'my-rust-project'

[[jobs]]
name = "mybuild"
run = "cargo build --release"
artifacts = ["target"]

Run your job:

brr run mybuild

In your CI (such as Github Actions), add a BUILDRECALL_API_KEY environment variable (you can get a key here), and then you don't need to login:

BUILDRECALL_API_KEY=my_secret_key brr run mybuild
Commit count: 0

cargo fmt