File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " axum-sqlx-tx"
33description = " Request-scoped SQLx transactions for axum"
4- version = " 0.2 .0"
4+ version = " 0.3 .0"
55license = " MIT"
66repository = " https://github.com/wasdacraic/axum-sqlx-tx/"
77edition = " 2021"
@@ -27,7 +27,7 @@ runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls"]
2727features = [" all-databases" , " runtime-tokio-rustls" ]
2828
2929[dependencies ]
30- axum-core = " 0.1.2 "
30+ axum-core = " 0.2.1 "
3131bytes = " 1.1.0"
3232futures-core = " 0.3.21"
3333http = " 0.2.6"
@@ -40,7 +40,7 @@ tower-service = "0.3.1"
4040
4141[dev-dependencies ]
4242axum-sqlx-tx = { path = " ." , features = [" runtime-tokio-rustls" , " sqlite" ] }
43- axum = " 0.4.5 "
43+ axum = " 0.5.1 "
4444hyper = " 0.14.17"
4545tempfile = " 3.3.0"
4646tokio = { version = " 1.17.0" , features = [" macros" ] }
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ where
131131 Box :: pin ( async move {
132132 let ext: & mut Lazy < DB > = req
133133 . extensions_mut ( )
134- . and_then ( |ext| ext . get_mut ( ) )
134+ . get_mut ( )
135135 . ok_or ( Error :: MissingExtension ) ?;
136136
137137 let tx = ext. get_or_begin ( ) . await ?;
You can’t perform that action at this time.
0 commit comments