Skip to content

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

License

Notifications You must be signed in to change notification settings

facebookincubator/reindeer

Repository files navigation

Reindeer - Building Cargo Packages with Buck Build Status

Jeremy Fitzhardinge [email protected]

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's a complete (but small) example 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.

About

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages