Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/facebookexperimental/rust-shed
Repository containing Rust crates common between other Facebook open source projects (like Mononoke or Eden).
https://github.com/facebookexperimental/rust-shed
Last synced: about 1 month ago
JSON representation
Repository containing Rust crates common between other Facebook open source projects (like Mononoke or Eden).
- Host: GitHub
- URL: https://github.com/facebookexperimental/rust-shed
- Owner: facebookexperimental
- License: apache-2.0
- Created: 2019-11-28T07:18:11.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T17:39:49.000Z (about 1 month ago)
- Last Synced: 2024-11-07T18:35:24.069Z (about 1 month ago)
- Language: Rust
- Size: 8.48 MB
- Stars: 104
- Watchers: 22
- Forks: 39
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-list - rust-shed
- awesome-buck2 - Shed
README
# 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](https://github.com/rust-lang/cargo) is used for building and testing
- The `thrift_compiler` crate requires
[fbthrift](https://github.com/facebook/fbthrift) to be installed or the
`THRIFT` environment variable to point to the thrift compiler## Contributing
See the [CONTRIBUTING](CONTRIBUTING.md) 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](LICENSE-MIT) and [LICENSE-APACHE](LICENSE-APACHE) files.