4 releases

0.2.0 Dec 13, 2023
0.1.2 Jan 13, 2021
0.1.1 Jan 11, 2021
0.1.0 Oct 23, 2020

#12 in #eden

Download history 4888/week @ 2024-11-18 3867/week @ 2024-11-25 5929/week @ 2024-12-02 5515/week @ 2024-12-09 5557/week @ 2024-12-16 1215/week @ 2024-12-23 1906/week @ 2024-12-30 3105/week @ 2025-01-06 5204/week @ 2025-01-13 6317/week @ 2025-01-20 4343/week @ 2025-01-27 6321/week @ 2025-02-03 5313/week @ 2025-02-10 4194/week @ 2025-02-17 5262/week @ 2025-02-24 3554/week @ 2025-03-03

18,651 downloads per month
Used in 3 crates (via fbinit)

MIT/Apache

11KB
174 lines

rust-shed

rust-shed is a repository containing Rust crates common between other Facebook open source projects (like Mononoke or Eden).

Building rust-shed

TL;DR

You can use cargo to build and test the project.

When using thrift_compiler you have to have fbthrfit compiler installed. For MacOS/Unix to install it inside $HOME/build do:

[rust-shed]$ mkdir $HOME/build
[rust-shed]$ ./build/fbcode_builder/getdeps.py build fbthrift --install-prefix $HOME/build

After that add THRIFT=$HOME/build/fbthrift/bin/thrift1 to your environment or make sure thrift1 is accessible by adding $HOME/build/fbthrift/bin to PATH.

Alternatively you can build and run tests with:

[rust-shed]$ ./build/fbcode_builder/getdeps.py build rust-shed
[rust-shed]$ ./build/fbcode_builder/getdeps.py test rust-shed

Dependencies

  • Cargo is used for building and testing
  • The thrift_compiler crate requires fbthrift to be installed or the THRIFT environment variable to point to the thrift compiler

Contributing

See the CONTRIBUTING file for how to help out.

License

rust-shed is both MIT and Apache License, Version 2.0 licensed, as found in the LICENSE-MIT and LICENSE-APACHE files.

Dependencies

~1.5MB
~37K SLoC