From 8eaf4e6786fa399768994d3e7386b77689934b54 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Thu, 18 Aug 2022 14:45:28 +0300 Subject: [PATCH] bump version --- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- README.md | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3549e96..2f1edea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.8.0 (2022-08-18) + +- Use Duration in SleepParams and schedulers - [#67](https://github.com/ayrat555/fang/pull/67) + ## 0.7.2 (2022-08-16) - Set task_type when starting a worker pool - [#66](https://github.com/ayrat555/fang/pull/66) diff --git a/Cargo.toml b/Cargo.toml index c4913bf..c9a3918 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fang" -version = "0.7.2" +version = "0.8.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 a310406..6093c76 100644 --- a/README.md +++ b/README.md @@ -18,18 +18,18 @@ Background task processing library for Rust. It uses Postgres DB as a task queue #### Blocking feature ```toml [dependencies] -fang = { version = "0.7" , features = ["blocking"], default-features = false } +fang = { version = "0.8" , features = ["blocking"], default-features = false } ``` #### Asynk feature ```toml [dependencies] -fang = { version = "0.7" , features = ["asynk"], default-features = false } +fang = { version = "0.8" , features = ["asynk"], default-features = false } ``` #### Both features ```toml -fang = { version = "0.7" } +fang = { version = "0.8" } ``` *Supports rustc 1.62+* @@ -378,7 +378,7 @@ In the example above, `push_periodic_task` is used to save the specified task to use fang::asynk::async_scheduler::Scheduler; use fang::asynk::async_queue::AsyncQueueable; use fang::asynk::async_queue::AsyncQueue; -use std::time::Duration; +use std::time::Duration; use chrono::Duration as OtherDuration; // Build a AsyncQueue as before