1 unstable release

0.1.0 Dec 13, 2023

#1301 in Asynchronous

Download history 831/week @ 2024-07-22 744/week @ 2024-07-29 698/week @ 2024-08-05 648/week @ 2024-08-12 773/week @ 2024-08-19 473/week @ 2024-08-26 467/week @ 2024-09-02 462/week @ 2024-09-09 379/week @ 2024-09-16 644/week @ 2024-09-23 819/week @ 2024-09-30 775/week @ 2024-10-07 725/week @ 2024-10-14 649/week @ 2024-10-21 263/week @ 2024-10-28 222/week @ 2024-11-04

1,888 downloads per month
Used in fbinit

MIT/Apache

4KB

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

~2.4–8MB
~59K SLoC