Crates.io | fbthrift_codegen_includer_proc_macro |
lib.rs | fbthrift_codegen_includer_proc_macro |
version | 0.1.3 |
source | src |
created_at | 2020-10-23 20:39:41.965149 |
updated_at | 2023-12-13 22:00:11.880217 |
description | Workaround for https://github.com/rust-lang/rfcs/issues/752 |
homepage | |
repository | https://github.com/facebookexperimental/rust-shed |
max_upload_size | |
id | 304825 |
size | 6,264 |
rust-shed is a repository containing Rust crates common between other Facebook open source projects (like Mononoke or Eden).
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
thrift_compiler
crate requires
fbthrift to be installed or the
THRIFT
environment variable to point to the thrift compilerSee the CONTRIBUTING file for how to help out.
rust-shed is both MIT and Apache License, Version 2.0 licensed, as found in the LICENSE-MIT and LICENSE-APACHE files.