fb_stats_traits

Crates.iofb_stats_traits
lib.rsfb_stats_traits
version0.2.0
sourcesrc
created_at2020-10-23 21:50:27.248854
updated_at2023-12-13 21:43:15.079238
descriptionTraits for stats crate
homepagehttps://github.com/facebookexperimental/rust-shed/
repositoryhttps://github.com/facebookexperimental/rust-shed/
max_upload_size
id304849
size24,475
Meta Crates.io Bot (meta-cratesio-bot)

documentation

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 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.

Commit count: 7569

cargo fmt