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

#116 in Web programming

Download history 7550/week @ 2023-10-31 6589/week @ 2023-11-07 5602/week @ 2023-11-14 5041/week @ 2023-11-21 7913/week @ 2023-11-28 5025/week @ 2023-12-05 5254/week @ 2023-12-12 3048/week @ 2023-12-19 1741/week @ 2023-12-26 3746/week @ 2024-01-02 6130/week @ 2024-01-09 9173/week @ 2024-01-16 6932/week @ 2024-01-23 5544/week @ 2024-01-30 7667/week @ 2024-02-06 6122/week @ 2024-02-13

27,238 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

~1.5–2MB
~44K SLoC