2 unstable releases

0.1.0 Aug 28, 2023
0.0.3 Apr 19, 2023

#53 in #cycle

Download history 2/week @ 2024-02-13 40/week @ 2024-02-20 28/week @ 2024-02-27 2/week @ 2024-03-12

72 downloads per month

MIT license

45KB
1K SLoC

This crate is no longer maintained, because it has been renamed time-lib.

https://git.sr.ht/~soywod/pimalaya


lib.rs:

Pimalaya time management

Rust library to manange your time.

The core concept is the Timer, which gathers information about the cycle and the state. The Server runs the timer and accepts connection from Clients thanks to ServerBinders. The clients communicate with the server using Requests and Responses, which allow them to control the timer.

┌────────────────────────┐
│Server                  │
│             ┌────────┐ │ Request ┌────────┐
│             │        │◄├─────────┤        │
│    ┌────────┤Binder A│ │         │Client A│
│    │        │        ├─┼────────►│        │
│    │        └────────┘ │Response └────────┘
│    │                   │
│    ▼        ┌────────┐ │         ┌────────┐
│ ┌─────┐     │        │◄├─────────┤        │
│ │Timer│◄────┤Binder B│ │         │Client B│
│ └─────┘     │        ├─┼────────►│        │
│    ▲        └────────┘ │         └────────┘
│    │                   │
│    │        ┌────────┐ │         ┌────────┐
│    │        │        │◄├─────────┤        │
│    └────────┤Binder C│ │         │Client C│
│             │        ├─┼────────►│        │
│             └────────┘ │         └────────┘
│                        │
└────────────────────────┘

Dependencies

~0.7–1.5MB
~34K SLoC