From f69d05d29bf3bca082e6de19800a6ef6f32b5b15 Mon Sep 17 00:00:00 2001 From: Stavros Date: Wed, 15 Oct 2025 13:21:13 +0300 Subject: [PATCH] feat: v0.2.10 - updates Rust to 1.90.0 - updates dependencies to latest versions --- .circleci/config.yml | 2 +- Cargo.toml | 12 ++++++------ README.md | 10 +++++----- src/generator.rs | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a42c513..5a73668 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 jobs: build: docker: - - image: cimg/rust:1.85.1 + - image: cimg/rust:1.90.0 steps: - checkout diff --git a/Cargo.toml b/Cargo.toml index c520aea..01f8eb3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "tasklet" -version = "0.2.9" +version = "0.2.10" authors = ["Stavros Grigoriou "] edition = "2021" -rust-version = "1.85.1" +rust-version = "1.90.0" license = "MIT" repository = "https://github.com/stav121/tasklet" readme = "README.md" @@ -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" diff --git a/README.md b/README.md index afc7f62..4577085 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,11 @@ 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 @@ -34,7 +34,7 @@ In your `Cargo.toml` add: ``` [dependencies] -tasklet = "0.2.9" +tasklet = "0.2.10" ``` ## Example diff --git a/src/generator.rs b/src/generator.rs index 4e36dc7..fd97b62 100644 --- a/src/generator.rs +++ b/src/generator.rs @@ -16,7 +16,7 @@ where T: TimeZone + Send + 'static, { /// The discovery function, used to retrieve new tasks. - discovery_function: Box Option>>)>, + discovery_function: Box Option>>>, /// The execution schedule. schedule: Schedule, /// The task generator's timezone.