Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,12 @@ jobs:
# cannot test sqlite yet as that crate
# as broken min-version dependencies as well
run: cargo +1.84.0 minimal-versions check -p diesel-async --features "postgres bb8 deadpool mobc"
all_features_build:
name: Check all feature combination build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-hack
- name: Check feature combinations
run: cargo hack check --feature-powerset --no-dev-deps --depth 2
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/

## [Unreleased]

## [0.6.1] - 2025-07-03

* Fix features for some dependencies

## [0.6.0] - 2025-07-02

* Allow to control the statement cache size
* Minimize dependencies features
* Bump minimal supported mysql_async version to 0.36.0
* Fixing a bug in how we tracked open transaction that could lead to dangling transactions is specific cases

## [0.5.2] - 2024-11-26

* Fixed an issue around transaction cancellation that could lead to connection pools containing connections with dangling transactions
Expand Down Expand Up @@ -87,4 +98,7 @@ in the pool should be checked if they are still valid
[0.4.1]: https://github.com/weiznich/diesel_async/compare/v0.4.0...v0.4.1
[0.5.0]: https://github.com/weiznich/diesel_async/compare/v0.4.0...v0.5.0
[0.5.1]: https://github.com/weiznich/diesel_async/compare/v0.5.0...v0.5.1
[Unreleased]: https://github.com/weiznich/diesel_async/compare/v0.5.1...main
[0.5.2]: https://github.com/weiznich/diesel_async/compare/v0.5.1...v0.5.2
[0.6.0]: https://github.com/weiznich/diesel_async/compare/v0.5.2...v0.6.0
[0.6.1]: https://github.com/weiznich/diesel_async/compare/v0.6.0...v0.6.1
[Unreleased]: https://github.com/weiznich/diesel_async/compare/v0.6.1...main
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diesel-async"
version = "0.5.2"
version = "0.6.1"
authors = ["Georg Semmler <[email protected]>"]
edition = "2021"
autotests = false
Expand Down Expand Up @@ -78,11 +78,11 @@ mysql = [
postgres = ["diesel/postgres_backend", "tokio-postgres", "tokio", "tokio/rt"]
sqlite = ["diesel/sqlite", "sync-connection-wrapper"]
sync-connection-wrapper = ["tokio/rt"]
async-connection-wrapper = ["tokio/net"]
async-connection-wrapper = ["tokio/net", "tokio/rt"]
pool = []
r2d2 = ["pool", "diesel/r2d2"]
bb8 = ["pool", "dep:bb8", "dep:async-trait"]
mobc = ["pool", "dep:mobc"]
bb8 = ["pool", "dep:bb8"]
mobc = ["pool", "dep:mobc", "dep:async-trait", "tokio/sync"]
deadpool = ["pool", "dep:deadpool"]

[[test]]
Expand Down
2 changes: 1 addition & 1 deletion examples/postgres/pooled-with-rustls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
diesel-async = { version = "0.5.0", path = "../../../", features = ["bb8", "postgres"] }
diesel-async = { version = "0.6.0", path = "../../../", features = ["bb8", "postgres"] }
futures-util = "0.3.21"
rustls = "0.23.8"
rustls-platform-verifier = "0.5.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
diesel-async = { version = "0.5.0", path = "../../../", features = ["bb8", "postgres", "async-connection-wrapper"] }
diesel-async = { version = "0.6.0", path = "../../../", features = ["bb8", "postgres", "async-connection-wrapper"] }
futures-util = "0.3.21"
rustls = "0.23.8"
rustls-platform-verifier = "0.5.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/sync-wrapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
diesel-async = { version = "0.5.0", path = "../../", features = ["sync-connection-wrapper", "async-connection-wrapper"] }
diesel-async = { version = "0.6.0", path = "../../", features = ["sync-connection-wrapper", "async-connection-wrapper"] }
futures-util = "0.3.21"
tokio = { version = "1.2.0", default-features = false, features = ["macros", "rt-multi-thread"] }

Expand Down
Loading