Skip to content

Commit

Permalink
bump fang version following semver
Browse files Browse the repository at this point in the history
  • Loading branch information
Dopplerian committed Apr 13, 2024
1 parent a291459 commit 108d55c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions fang/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fang"
version = "1.0.0"
version = "0.11.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 Expand Up @@ -84,4 +84,4 @@ optional = true
[dependencies.diesel_migrations]
version = "2.1.0"
optional = true
default-features = false
default-features = false
14 changes: 7 additions & 7 deletions fang/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Here are some of the fang's key features:

```toml
[dependencies]
fang = { version = "1.0.0" , features = ["blocking"], default-features = false }
fang = { version = "0.11.0" , features = ["blocking"], default-features = false }
```

#### the Asynk feature
Expand All @@ -40,21 +40,21 @@ fang = { version = "1.0.0" , features = ["blocking"], default-features = false }

```toml
[dependencies]
fang = { version = "1.0.0" , features = ["asynk-postgres"], default-features = false }
fang = { version = "0.11.0" , features = ["asynk-postgres"], default-features = false }
```

- SQLite as a queue

```toml
[dependencies]
fang = { version = "1.0.0" , features = ["asynk-sqlite"], default-features = false }
fang = { version = "0.11.0" , features = ["asynk-sqlite"], default-features = false }
```

- MySQL as a queue

```toml
[dependencies]
fang = { version = "1.0.0" , features = ["asynk-mysql"], default-features = false }
fang = { version = "0.11.0" , features = ["asynk-mysql"], default-features = false }
```

#### the Asynk feature with derive macro
Expand All @@ -63,13 +63,13 @@ Substitute `database` with your desired backend.

```toml
[dependencies]
fang = { version = "1.0.0" , features = ["asynk-{database}", "derive-error" ], default-features = false }
fang = { version = "0.11.0" , features = ["asynk-{database}", "derive-error" ], default-features = false }
```

#### All features

```toml
fang = { version = "1.0.0" }
fang = { version = "0.11.0" }
```

_Supports rustc 1.62+_
Expand All @@ -80,7 +80,7 @@ Migrations can be also run as code, importing the feature `migrations-{database}

```toml
[dependencies]
fang = { version = "1.0.0" , features = ["asynk-postgres", "migrations-postgres" ], default-features = false }
fang = { version = "0.11.0" , features = ["asynk-postgres", "migrations-postgres" ], default-features = false }
```

```rust
Expand Down

0 comments on commit 108d55c

Please sign in to comment.