You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -124,9 +124,9 @@ SQLx is compatible with the [`async-std`], [`tokio`] and [`actix`] runtimes; and
124
124
# Cargo.toml
125
125
[dependencies]
126
126
# tokio + rustls
127
-
sqlx = { version = "0.5", features = [ "runtime-tokio-rustls" ] }
127
+
sqlx = { version = "0.6", features = [ "runtime-tokio-rustls" ] }
128
128
# async-std + native-tls
129
-
sqlx = { version = "0.5", features = [ "runtime-async-std-native-tls" ] }
129
+
sqlx = { version = "0.6", features = [ "runtime-async-std-native-tls" ] }
130
130
```
131
131
132
132
<small><small>The runtime and TLS backend not being separate feature sets to select is a workaround for a [Cargo issue](https://github.com/rust-lang/cargo/issues/3494).</small></small>
@@ -212,16 +212,16 @@ See the `examples/` folder for more in-depth usage.
212
212
[dependencies]
213
213
# PICK ONE:
214
214
# Async-std:
215
-
sqlx = { version = "0.5", features = [ "runtime-async-std-native-tls", "postgres" ] }
215
+
sqlx = { version = "0.6", features = [ "runtime-async-std-native-tls", "postgres" ] }
216
216
async-std = { version = "1", features = [ "attributes" ] }
217
217
218
218
# Tokio:
219
-
sqlx = { version = "0.5", features = [ "runtime-tokio-native-tls" , "postgres" ] }
219
+
sqlx = { version = "0.6", features = [ "runtime-tokio-native-tls" , "postgres" ] }
220
220
tokio = { version = "1", features = ["full"] }
221
221
222
222
# Actix-web:
223
-
sqlx = { version = "0.5", features = [ "runtime-actix-native-tls" , "postgres" ] }
224
-
actix-web = "3"
223
+
sqlx = { version = "0.6", features = [ "runtime-actix-native-tls" , "postgres" ] }
0 commit comments