Skip to content

Commit 8400d77

Browse files
ckingconnec
authored andcommitted
chore!: upgrade sqlx to 0.7
BREAKING CHANGE: The library does not support MSSQL anymore, as SQLx dropped support
1 parent ca316d8 commit 8400d77

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "axum-sqlx-tx"
33
description = "Request-scoped SQLx transactions for axum"
4-
version = "0.5.0"
4+
version = "0.6.0"
55
license = "MIT"
66
repository = "https://github.com/wasdacraic/axum-sqlx-tx/"
77
edition = "2021"
@@ -13,9 +13,8 @@ include = [
1313
]
1414

1515
[features]
16-
all-databases = ["any", "mssql", "mysql", "postgres", "sqlite"]
16+
all-databases = ["any", "mysql", "postgres", "sqlite"]
1717
any = ["sqlx/any"]
18-
mssql = ["sqlx/mssql"]
1918
mysql = ["sqlx/mysql"]
2019
postgres = ["sqlx/postgres"]
2120
sqlite = ["sqlx/sqlite"]
@@ -33,7 +32,7 @@ futures-core = "0.3"
3332
http = "0.2"
3433
http-body = "0.4"
3534
parking_lot = "0.12"
36-
sqlx = { version = "0.6", default-features = false }
35+
sqlx = { version = "0.7", default-features = false }
3736
thiserror = "1"
3837
tower-layer = "0.3"
3938
tower-service = "0.3"

src/tx.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ impl<DB: sqlx::Database> Lazy<DB> {
183183

184184
#[cfg(any(
185185
feature = "any",
186-
feature = "mssql",
187186
feature = "mysql",
188187
feature = "postgres",
189188
feature = "sqlite"
@@ -266,9 +265,6 @@ mod sqlx_impls {
266265
#[cfg(feature = "any")]
267266
impl_executor!(sqlx::Any);
268267

269-
#[cfg(feature = "mssql")]
270-
impl_executor!(sqlx::Mssql);
271-
272268
#[cfg(feature = "mysql")]
273269
impl_executor!(sqlx::MySql);
274270

0 commit comments

Comments
 (0)