#timestamp #twitter #projects #repository #discovery #ease #workspace

twitter/rustcommon-time

Library for getting current and recent timestamps

6 releases

0.0.6 Mar 31, 2021
0.0.5 Mar 30, 2021
0.0.4 Feb 23, 2021

#1048 in Data structures

339 stars & 11 watchers

Apache-2.0

35KB
1K SLoC

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

~0.7–1MB
~15K SLoC