bump version

This commit is contained in:
Ayrat Badykov 2022-08-18 14:45:28 +03:00
parent 1dc513c4a7
commit 8eaf4e6786
No known key found for this signature in database
GPG key ID: EC1148A46811EFB5
3 changed files with 9 additions and 5 deletions

View file

@ -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)

View file

@ -1,6 +1,6 @@
[package]
name = "fang"
version = "0.7.2"
version = "0.8.0"
authors = ["Ayrat Badykov <ayratin555@gmail.com>" , "Pepe Márquez <pepe.marquezromero@gmail.com>"]
description = "Background job processing library for Rust"
repository = "https://github.com/ayrat555/fang"

View file

@ -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