From 1373bf65235c251eb978516f75d1c5ee0f090fb5 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 27 Sep 2022 17:56:33 +0300 Subject: [PATCH] release 0.10 (#103) * update the version to 0.10 * fix readme * improve changelog entry --- CHANGELOG.md | 6 +++++- Cargo.toml | 2 +- README.md | 18 +++++++++--------- docs/content/_index.md | 2 +- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14c1ea9..b06e78a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,15 @@ # Changelog -## Not released +## 0.10.0 (2022-09-27) ### Added - Add retries for tasks - [#92](https://github.com/ayrat555/fang/pull/92) +### Improved + +- Update the cron crate from 0.11 to 0.12 - [#97](https://github.com/ayrat555/fang/pull/97) + ## 0.9.1 (2022-09-14) ### Added diff --git a/Cargo.toml b/Cargo.toml index c7bb03a..d536dc7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fang" -version = "0.9.1" +version = "0.10.0" authors = ["Ayrat Badykov " , "Pepe Márquez "] description = "Background job processing library for Rust" repository = "https://github.com/ayrat555/fang" diff --git a/README.md b/README.md index d070208..49f13a2 100644 --- a/README.md +++ b/README.md @@ -10,17 +10,17 @@ Background task processing library for Rust. It uses Postgres DB as a task queue Here are some of the fang's key features: - - Async and threaded workers + - Async and threaded workers. Workers can be started in threads (threaded workers) or `tokio` tasks (async workers) - - Scheduled tasks + - Scheduled tasks. Tasks can be scheduled at any time in the future - - Periodic (CRON) tasks + - Periodic (CRON) tasks. Tasks can be scheduled using cron expressions - - Unique tasks + - Unique tasks. Tasks are not duplicated in the queue if they are unique - - Single-purpose workers + - Single-purpose workers. Tasks are stored in a single table but workers can execute only tasks of the specific type - - Retries + - Retries. Tasks can be retried with a custom backoff mode ## Installation @@ -31,18 +31,18 @@ Background task processing library for Rust. It uses Postgres DB as a task queue #### the Blocking feature ```toml [dependencies] -fang = { version = "0.9" , features = ["blocking"], default-features = false } +fang = { version = "0.10" , features = ["blocking"], default-features = false } ``` #### the Asynk feature ```toml [dependencies] -fang = { version = "0.9" , features = ["asynk"], default-features = false } +fang = { version = "0.10" , features = ["asynk"], default-features = false } ``` #### Both features ```toml -fang = { version = "0.9" } +fang = { version = "0.10" } ``` *Supports rustc 1.62+* diff --git a/docs/content/_index.md b/docs/content/_index.md index 9b3b262..050bee7 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -9,7 +9,7 @@ lead = 'Fang is a background task processing for Rust. It uses Postgres D url = "/docs/readme" url_button = "Get started" -repo_version = "GitHub v0.9.0" +repo_version = "GitHub v0.10.0" repo_license = "Open-source MIT License." repo_url = "https://github.com/ayrat555/fang"