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

#2 in #facebook

Download history 8215/week @ 2024-03-14 8207/week @ 2024-03-21 6479/week @ 2024-03-28 6716/week @ 2024-04-04 6899/week @ 2024-04-11 7115/week @ 2024-04-18 5382/week @ 2024-04-25 5052/week @ 2024-05-02 5843/week @ 2024-05-09 5783/week @ 2024-05-16 3752/week @ 2024-05-23 7135/week @ 2024-05-30 5743/week @ 2024-06-06 6274/week @ 2024-06-13 6886/week @ 2024-06-20 3768/week @ 2024-06-27

24,171 downloads per month
Used in 2 crates

MIT/Apache

15KB
234 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

~2MB
~45K SLoC