diff --git a/CHANGELOG.md b/CHANGELOG.md index 2dcddac..4a3b1ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 1ff516a..2b8898f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 = [ @@ -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",