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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/
* The minimal supported rust version is now 1.78.0
* Add a `SyncConnectionWrapper` type that turns a sync connection into an async one. This enables SQLite support for diesel-async
* Add support for `diesel::connection::Instrumentation` to support logging and other instrumentation for any of the provided connection impls.
* Bump minimal supported mysql_async version to 0.34

## [0.4.1] - 2023-09-01

Expand Down
12 changes: 4 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,10 @@ futures-util = { version = "0.3.17", default-features = false, features = [
] }
tokio-postgres = { version = "0.7.10", optional = true }
tokio = { version = "1.26", optional = true }
mysql_async = { version = ">=0.30.0,<0.34", optional = true, default-features = false, features = [
"minimal",
"derive",
] }
mysql_common = { version = ">=0.29.0,<0.32.0", optional = true, default-features = false, features = [
"frunk",
"derive",
mysql_async = { version = "0.34", optional = true, default-features = false, features = [
"minimal-rust",
] }
mysql_common = { version = "0.32", optional = true, default-features = false }

bb8 = { version = "0.8", optional = true }
deadpool = { version = "0.12", optional = true, default-features = false, features = [
Expand All @@ -52,7 +48,7 @@ diesel_migrations = "2.2.0"
assert_matches = "1.0.1"

[features]
default = []
default = ["sync-connection-wrapper"]
mysql = [
"diesel/mysql_backend",
"mysql_async",
Expand Down