release 0.10 (#103)
* update the version to 0.10 * fix readme * improve changelog entry
This commit is contained in:
parent
ac5927f172
commit
1373bf6523
4 changed files with 16 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "fang"
|
||||
version = "0.9.1"
|
||||
version = "0.10.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"
|
||||
|
|
18
README.md
18
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+*
|
||||
|
|
|
@ -9,7 +9,7 @@ lead = '<b>Fang</b> 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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue