timekeep-rs 0.1.0

A Rust library for efficient and reliable timekeeping functionalities, providing data structures and methods for creating, manipulating, and performing set operations on intervals.
Documentation
  • Coverage
  • 96.77%
    30 out of 31 items documented19 out of 28 items with examples
  • Size
  • Source code size: 44.57 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • mikebrgs/timekeep-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mikebrgs

Timekeep-rs

Timekeep-rs is a Rust library designed to provide efficient and reliable timekeeping functionalities. This library is built to be simple and is inspired in the portion library in Python [https://github.com/AlexandreDecan/portion].

Features

  • Easy to use API
  • Lightweight
  • No dependencies

Installation

Add this to your Cargo.toml:

[dependencies]
timekeep-rs = "0.1.0"

Usage

Here is a simple example to get you started:

use timekeep_rs::{AtomicInterval, IntervalSet};

fn main() {
    let atomic_interval = AtomicInterval::closed(1, 5);
    let interval = IntervalSet::from(atomic_interval);

    println!("Interval: {}", interval.to_string());
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

Contact

For any inquiries, please contact Miguel Borges at [miguel.borges@hotmail.com].