Skip to content

Commit 6437e59

Browse files
authored
Merge pull request #168 from weiznich/bump/mysql_crate
Bump minimal supported mysql_async version to 0.34
2 parents 444d45d + f30dfd7 commit 6437e59

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/
1111
* The minimal supported rust version is now 1.78.0
1212
* Add a `SyncConnectionWrapper` type that turns a sync connection into an async one. This enables SQLite support for diesel-async
1313
* Add support for `diesel::connection::Instrumentation` to support logging and other instrumentation for any of the provided connection impls.
14+
* Bump minimal supported mysql_async version to 0.34
1415

1516
## [0.4.1] - 2023-09-01
1617

Cargo.toml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,10 @@ futures-util = { version = "0.3.17", default-features = false, features = [
2727
] }
2828
tokio-postgres = { version = "0.7.10", optional = true }
2929
tokio = { version = "1.26", optional = true }
30-
mysql_async = { version = ">=0.30.0,<0.34", optional = true, default-features = false, features = [
31-
"minimal",
32-
"derive",
33-
] }
34-
mysql_common = { version = ">=0.29.0,<0.32.0", optional = true, default-features = false, features = [
35-
"frunk",
36-
"derive",
30+
mysql_async = { version = "0.34", optional = true, default-features = false, features = [
31+
"minimal-rust",
3732
] }
33+
mysql_common = { version = "0.32", optional = true, default-features = false }
3834

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

5450
[features]
55-
default = []
51+
default = ["sync-connection-wrapper"]
5652
mysql = [
5753
"diesel/mysql_backend",
5854
"mysql_async",

0 commit comments

Comments
 (0)