Skip to content

Commit 5e08cd0

Browse files
authored
docs: update versions (#1993)
1 parent 58712ae commit 5e08cd0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ SQLx is compatible with the [`async-std`], [`tokio`] and [`actix`] runtimes; and
124124
# Cargo.toml
125125
[dependencies]
126126
# tokio + rustls
127-
sqlx = { version = "0.5", features = [ "runtime-tokio-rustls" ] }
127+
sqlx = { version = "0.6", features = [ "runtime-tokio-rustls" ] }
128128
# 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" ] }
130130
```
131131

132132
<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.
212212
[dependencies]
213213
# PICK ONE:
214214
# 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" ] }
216216
async-std = { version = "1", features = [ "attributes" ] }
217217

218218
# Tokio:
219-
sqlx = { version = "0.5", features = [ "runtime-tokio-native-tls" , "postgres" ] }
219+
sqlx = { version = "0.6", features = [ "runtime-tokio-native-tls" , "postgres" ] }
220220
tokio = { version = "1", features = ["full"] }
221221

222222
# 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" ] }
224+
actix-web = "4"
225225
```
226226

227227
```rust

0 commit comments

Comments
 (0)