Skip to content

Commit 3f32970

Browse files
committed
Release 0.3.0
1 parent c905b57 commit 3f32970

4 files changed

Lines changed: 17 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1010

1111
*None*
1212

13+
## [0.3.0] - 2026-03-10
14+
15+
### Added
16+
17+
- `RecurringSchedule` as the public recurring-timer configuration type.
18+
- `RecurringCadence` with fixed-delay and fixed-rate scheduling modes.
19+
20+
### Changed
21+
22+
- Made recurring timer startup APIs schedule-based instead of interval-based.
23+
- Moved recurring-only options like initial delay and expiration count onto `RecurringSchedule`.
24+
- Updated tests, examples, and crate docs to reflect the new recurring API shape.
25+
1326
## [0.2.1] - 2026-03-10
1427

1528
### Added

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "timer-lib"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
authors = ["Tim Gatzke <post@tim-gatzke.de>"]
55
edition = "2021"
66
description = "A feature-rich Rust library for creating and managing timers."

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ It is built around a small set of handle types:
2727

2828
```toml
2929
[dependencies]
30-
timer-lib = "0.2.1"
30+
timer-lib = "0.3.0"
3131
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }
3232
```
3333

@@ -58,7 +58,7 @@ async fn main() {
5858

5959
```rust
6060
use std::time::Duration;
61-
use timer_lib::{Timer, TimerFinishReason};
61+
use timer_lib::{RecurringSchedule, Timer, TimerFinishReason};
6262

6363
#[tokio::main]
6464
async fn main() {

0 commit comments

Comments
 (0)