Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
jobs:
build:
docker:
- image: cimg/rust:1.85.1
- image: cimg/rust:1.90.0

steps:
- checkout
Expand Down
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "tasklet"
version = "0.2.9"
version = "0.2.10"
authors = ["Stavros Grigoriou <unix121@protonmail.com>"]
edition = "2021"
rust-version = "1.85.1"
rust-version = "1.90.0"
license = "MIT"
repository = "https://github.com/stav121/tasklet"
readme = "README.md"
Expand All @@ -12,11 +12,11 @@ keywords = ["cron", "scheduling", "tasks", "tasklet", "async"]

[dependencies]
cron = "0.15.0"
chrono = "0.4.41"
log = "0.4.27"
tokio = { version = "1.45.1", features = ["full"] }
chrono = "0.4.42"
log = "0.4.28"
tokio = { version = "1.48.0", features = ["full"] }
futures = "0.3.31"
thiserror = "2.0.12"
thiserror = "2.0.17"

[dev-dependencies]
simple_logger = "5.0.0"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ in order to run tasks asynchronously.
| library | version |
|-----------|---------|
| cron | 0.15.0 |
| chrono | 0.4.41 |
| log | 0.4.27 |
| tokio | 1.45.1 |
| chrono | 0.4.42 |
| log | 0.4.28 |
| tokio | 1.48.0 |
| futures | 0.3.31 |
| thiserror | 2.0.12 |
| thiserror | 2.0.17 |

## How to use this library

In your `Cargo.toml` add:

```
[dependencies]
tasklet = "0.2.9"
tasklet = "0.2.10"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ where
T: TimeZone + Send + 'static,
{
/// The discovery function, used to retrieve new tasks.
discovery_function: Box<dyn (FnMut() -> Option<TaskResult<Task<T>>>)>,
discovery_function: Box<dyn FnMut() -> Option<TaskResult<Task<T>>>>,
/// The execution schedule.
schedule: Schedule,
/// The task generator's timezone.
Expand Down