time-lib

Crates.iotime-lib
lib.rstime-lib
version0.2.1
sourcesrc
created_at2023-08-27 12:07:47.312199
updated_at2024-02-03 09:43:01.298194
descriptionRust library to manage personal time
homepagehttps://pimalaya.org/
repositoryhttps://git.sr.ht/~soywod/pimalaya/tree/master/item/time/README.md
max_upload_size
id956041
size81,409
Clément DOUIN (soywod)

documentation

https://docs.rs/time-lib/latest/time/

README

⏳ time-lib

Rust library to manage personal time.

See the full API documentation and some examples.

Features

  • Custom timers using cycles and handlers
  • Client/server pattern:
    • Server can bind to multiple protocols simultaneously (TCP, custom)
    • Clients can connect simultaneously to the same server (TCP, custom)

Examples

See ./examples:

cargo run --example

Development

The development environment is managed by Nix. Running nix-shell will spawn a shell with everything you need to get started with the lib: cargo, cargo-watch, rust-bin, rust-analyzer

# Start a Nix shell
$ nix-shell

# then build the lib
$ cargo build -p time-lib

Contributing

A bug tracker is available on SourceHut. [send an email]

A mailing list is available on SourceHut. [send an email] [subscribe] [unsubscribe]

If you want to report a bug, please send an email at ~soywod/pimalaya@todo.sr.ht.

If you want to propose a feature or fix a bug, please send a patch at ~soywod/pimalaya@lists.sr.ht. The simplest way to send a patch is to use git send-email, follow this guide to configure git properly.

If you just want to discuss about the project, feel free to join the Matrix workspace #pimalaya or contact me directly @soywod. You can also use the mailing list.

Sponsoring

nlnet

Special thanks to the NLnet foundation and the European Commission that helped the project to receive financial support from:

If you appreciate the project, feel free to donate using one of the following providers:

GitHub PayPal Ko-fi Buy Me a Coffee Liberapay

Commit count: 0

cargo fmt