timekeep-rs

Crates.iotimekeep-rs
lib.rstimekeep-rs
version0.1.0
created_at2025-02-22 11:30:29.910091+00
updated_at2025-02-22 11:30:29.910091+00
descriptionA Rust library for efficient and reliable timekeeping functionalities, providing data structures and methods for creating, manipulating, and performing set operations on intervals.
homepagehttps://github.com/mikebrgs/timekeep-rs
repositoryhttps://github.com/mikebrgs/timekeep-rs.git
max_upload_size
id1565326
size44,884
Miguel Borges (mikebrgs)

documentation

https://docs.rs/timekeep-rs

README

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

Commit count: 0

cargo fmt