#stream #statistics #twitter #samples #projects #calculated

twitter/rustcommon-streamstats

Statistics calculated for a stream of samples

1 unstable release

0.1.0 Sep 4, 2020

#1505 in Data structures

341 stars & 11 watchers

Apache-2.0

10KB
239 lines

rustcommon

rustcommon is a collection of common libraries we use in our Rust projects. This includes datastructures, logging, metrics, timers, and ratelimiting.

Overview

rustcommon is a workspace repository which contains several crates (libraries) which we use in our Rust projects such as rpc-perf and Rezolus. These common libraries may be useful in other projects, and as such, we are providing them here for ease of discovery.

Each crate within this repository contains its own readme and changelog detailing the purpose and history of the library.

Getting Started

Building

rustcommon is built with the standard Rust toolchain which can be installed and managed via rustup or by following the directions on the Rust website.

Clone and build rustcommon from source

git clone https://github.com/twitter/rustcommon
cd rustcommon

# run tests
cargo test --all

Support

Create a new issue on GitHub.

Contributing

We feel that a welcoming community is important and we ask that you follow Twitter's Open Source Code of Conduct in all interactions with the community.

Authors

A full list of contributors can be found on GitHub.

Follow @TwitterOSS on Twitter for updates.

License

Copyright 2019-2020 Twitter, Inc.

Licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0

Security Issues?

Please report sensitive security issues via Twitter's bug-bounty program (https://hackerone.com/twitter) rather than GitHub.

Dependencies

~250–700KB
~16K SLoC