Skip to content

Commit

Permalink
release 0.10 (#103)
Browse files Browse the repository at this point in the history
* update the version to 0.10

* fix readme

* improve changelog entry
  • Loading branch information
ayrat555 committed Sep 27, 2022
1 parent ac5927f commit 1373bf6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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+*
Expand Down
2 changes: 1 addition & 1 deletion docs/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 1373bf6

Please sign in to comment.