From 5e08cd077ecffae879b9c8e677fbcc86672a5875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=86=E3=82=89=E3=82=80=E3=82=93=E3=82=AA=E3=82=A4?= =?UTF-8?q?=E3=83=AB?= <25810983+UramnOIL@users.noreply.github.com> Date: Wed, 27 Jul 2022 07:46:38 +0900 Subject: [PATCH] docs: update versions (#1993) --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2a36885c2..b83455d9e 100644 --- a/README.md +++ b/README.md @@ -124,9 +124,9 @@ SQLx is compatible with the [`async-std`], [`tokio`] and [`actix`] runtimes; and # Cargo.toml [dependencies] # tokio + rustls -sqlx = { version = "0.5", features = [ "runtime-tokio-rustls" ] } +sqlx = { version = "0.6", features = [ "runtime-tokio-rustls" ] } # async-std + native-tls -sqlx = { version = "0.5", features = [ "runtime-async-std-native-tls" ] } +sqlx = { version = "0.6", features = [ "runtime-async-std-native-tls" ] } ``` 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). @@ -212,16 +212,16 @@ See the `examples/` folder for more in-depth usage. [dependencies] # PICK ONE: # Async-std: -sqlx = { version = "0.5", features = [ "runtime-async-std-native-tls", "postgres" ] } +sqlx = { version = "0.6", features = [ "runtime-async-std-native-tls", "postgres" ] } async-std = { version = "1", features = [ "attributes" ] } # Tokio: -sqlx = { version = "0.5", features = [ "runtime-tokio-native-tls" , "postgres" ] } +sqlx = { version = "0.6", features = [ "runtime-tokio-native-tls" , "postgres" ] } tokio = { version = "1", features = ["full"] } # Actix-web: -sqlx = { version = "0.5", features = [ "runtime-actix-native-tls" , "postgres" ] } -actix-web = "3" +sqlx = { version = "0.6", features = [ "runtime-actix-native-tls" , "postgres" ] } +actix-web = "4" ``` ```rust