#representation #source #rustcommon

clocksource

Library for times and durations with fixed-size representations

14 unstable releases (6 breaking)

0.8.1 Jan 23, 2024
0.8.0 Dec 15, 2023
0.7.1 Dec 15, 2023
0.7.0 Aug 24, 2023
0.2.0 Aug 27, 2016

#55 in Date and time

Download history 161870/week @ 2024-12-09 114784/week @ 2024-12-16 23076/week @ 2024-12-23 64634/week @ 2024-12-30 131145/week @ 2025-01-06 144358/week @ 2025-01-13 101268/week @ 2025-01-20 120279/week @ 2025-01-27 126107/week @ 2025-02-03 133521/week @ 2025-02-10 129157/week @ 2025-02-17 167984/week @ 2025-02-24 166410/week @ 2025-03-03 167467/week @ 2025-03-10 146905/week @ 2025-03-17 168528/week @ 2025-03-24

650,106 downloads per month
Used in 17 crates (6 directly)

MIT/Apache

82KB
1.5K 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 act as foundational libraries for other Rust projects, such as Pelikan, rpc-perf, and Rezolus.

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/pelikan-io/rustcommon
cd rustcommon

# run tests
cargo test --all

Support

Create a new issue on GitHub.

Authors

A full list of contributors can be found on GitHub.

Dependencies

~0.7–1MB
~17K SLoC