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
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -131,9 +131,9 @@ SQLx is compatible with the [`async-std`], [`tokio`] and [`actix`] runtimes; and
131
131
# Cargo.toml
132
132
[dependencies]
133
133
# tokio + rustls
134
-
sqlx = {package = "sqlx-oldapi", version = "0.6", features = [ "runtime-tokio-rustls" ] }
134
+
sqlx-oldapi = { version = "0.6", features = [ "runtime-tokio-rustls" ] }
135
135
# async-std + native-tls
136
-
sqlx = {package = "sqlx-oldapi", version = "0.6", features = [ "runtime-async-std-native-tls" ] }
136
+
sqlx-oldapi = { version = "0.6", features = [ "runtime-async-std-native-tls" ] }
137
137
```
138
138
139
139
<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>
@@ -219,27 +219,27 @@ See the `examples/` folder for more in-depth usage.
219
219
[dependencies]
220
220
# PICK ONE:
221
221
# Async-std:
222
-
sqlx = {package = "sqlx-oldapi", version = "0.6", features = [ "runtime-async-std-native-tls", "postgres" ] }
222
+
sqlx-oldapi = { version = "0.6", features = [ "runtime-async-std-native-tls", "postgres" ] }
223
223
async-std = { version = "1", features = [ "attributes" ] }
224
224
225
225
# Tokio:
226
-
sqlx = {package = "sqlx-oldapi", version = "0.6", features = [ "runtime-tokio-native-tls" , "postgres" ] }
226
+
sqlx-oldapi = { version = "0.6", features = [ "runtime-tokio-native-tls" , "postgres" ] }
227
227
tokio = { version = "1", features = ["full"] }
228
228
229
229
# Actix-web:
230
-
sqlx = {package = "sqlx-oldapi", version = "0.6", features = [ "runtime-actix-native-tls" , "postgres" ] }
230
+
sqlx-oldapi = { version = "0.6", features = [ "runtime-actix-native-tls" , "postgres" ] }
0 commit comments