facebookincubator/reindeer

Reindeer is a tool to transform Rust Cargo dependencies into generated Buck build rules

Rust

277

727 commits

updated Sep 21, 2026

See the code

README

Reindeer - Building Cargo Packages with Buck Build Status

Jeremy Fitzhardinge jsgf@fb.com

This is a set of tools for importing Rust crates from crates.io, git repos, etc and generating Buck build rules for them. Currently it primarily solves the problem of managing third-party dependencies in a monorepo built with Buck, but my hope is that it can be extended to support Bazel and other similar build systems.

Installation and Building

Reindeer builds with Cargo in the normal way. It has no unusual build-time dependencies. Therefore, you can use Cargo to not only build Reindeer, but to install it as well.

cargo install --locked --git https://github.com/facebookincubator/reindeer reindeer

Nix

If you are using Nix, you can install Reindeer from nixpkgs via the reindeer package. This package is unofficial and community-maintained.

Getting started

There are several complete (but small) examples to get started with. More complete documentation is in docs.

Contributing

We welcome contributions! See CONTRIBUTING for details on how to get started, and our code of conduct.

License

Reindeer is MIT licensed, as found in the LICENSE file.

buck
buck2
starlark

Contributors

(top 30 of 173)

zertosh

91 commits

ahornby

63 commits

chadaustin

47 commits

capickett

24 commits

facebookincubator/reindeer

Reindeer is a tool to transform Rust Cargo dependencies into generated Buck build rules

Rust

277

727 commits

updated Sep 21, 2026

See the code

README

Reindeer - Building Cargo Packages with Buck Build Status

Jeremy Fitzhardinge jsgf@fb.com

This is a set of tools for importing Rust crates from crates.io, git repos, etc and generating Buck build rules for them. Currently it primarily solves the problem of managing third-party dependencies in a monorepo built with Buck, but my hope is that it can be extended to support Bazel and other similar build systems.

Installation and Building

Reindeer builds with Cargo in the normal way. It has no unusual build-time dependencies. Therefore, you can use Cargo to not only build Reindeer, but to install it as well.

cargo install --locked --git https://github.com/facebookincubator/reindeer reindeer

Nix

If you are using Nix, you can install Reindeer from nixpkgs via the reindeer package. This package is unofficial and community-maintained.

Getting started

There are several complete (but small) examples to get started with. More complete documentation is in docs.

Contributing

We welcome contributions! See CONTRIBUTING for details on how to get started, and our code of conduct.

License

Reindeer is MIT licensed, as found in the LICENSE file.

buck
buck2
starlark

Contributors

(top 30 of 173)

zertosh

91 commits

ahornby

63 commits

chadaustin

47 commits

capickett

24 commits

Languages

Rust

100.0%