release 0.10 (#103)

* update the version to 0.10

* fix readme

* improve changelog entry
This commit is contained in:
Ayrat Badykov 2022-09-27 17:56:33 +03:00
parent ac5927f172
commit 1373bf6523
4 changed files with 16 additions and 12 deletions

View file

@ -1,11 +1,15 @@
# Changelog # Changelog
## Not released ## 0.10.0 (2022-09-27)
### Added ### Added
- Add retries for tasks - [#92](https://github.com/ayrat555/fang/pull/92) - 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) ## 0.9.1 (2022-09-14)
### Added ### Added

View file

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

View file

@ -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: 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) 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 Tasks can be scheduled at any time in the future
- Periodic (CRON) tasks - Periodic (CRON) tasks.
Tasks can be scheduled using cron expressions Tasks can be scheduled using cron expressions
- Unique tasks - Unique tasks.
Tasks are not duplicated in the queue if they are unique 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 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 Tasks can be retried with a custom backoff mode
## Installation ## Installation
@ -31,18 +31,18 @@ Background task processing library for Rust. It uses Postgres DB as a task queue
#### the Blocking feature #### the Blocking feature
```toml ```toml
[dependencies] [dependencies]
fang = { version = "0.9" , features = ["blocking"], default-features = false } fang = { version = "0.10" , features = ["blocking"], default-features = false }
``` ```
#### the Asynk feature #### the Asynk feature
```toml ```toml
[dependencies] [dependencies]
fang = { version = "0.9" , features = ["asynk"], default-features = false } fang = { version = "0.10" , features = ["asynk"], default-features = false }
``` ```
#### Both features #### Both features
```toml ```toml
fang = { version = "0.9" } fang = { version = "0.10" }
``` ```
*Supports rustc 1.62+* *Supports rustc 1.62+*

View file

@ -9,7 +9,7 @@ lead = '<b>Fang</b> is a background task processing for Rust. It uses Postgres D
url = "/docs/readme" url = "/docs/readme"
url_button = "Get started" url_button = "Get started"
repo_version = "GitHub v0.9.0" repo_version = "GitHub v0.10.0"
repo_license = "Open-source MIT License." repo_license = "Open-source MIT License."
repo_url = "https://github.com/ayrat555/fang" repo_url = "https://github.com/ayrat555/fang"