From 565d0a91a38e88afd2c023906f586aa3d341f7f5 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Sat, 19 Dec 2020 01:07:50 -0800 Subject: [PATCH] release: v0.4.2 --- Cargo.lock | 6 +++--- Cargo.toml | 6 +++--- README.md | 4 ++-- sqlx-core/Cargo.toml | 2 +- sqlx-macros/Cargo.toml | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b8a28432..90564d14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2479,7 +2479,7 @@ dependencies = [ [[package]] name = "sqlx" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "async-std", @@ -2535,7 +2535,7 @@ dependencies = [ [[package]] name = "sqlx-core" -version = "0.4.0" +version = "0.4.2" dependencies = [ "ahash 0.6.2", "atoi", @@ -2658,7 +2658,7 @@ dependencies = [ [[package]] name = "sqlx-macros" -version = "0.4.0" +version = "0.4.2" dependencies = [ "cargo_metadata 0.12.1", "dotenv", diff --git a/Cargo.toml b/Cargo.toml index c6a8c110..6a9f14e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ members = [ [package] name = "sqlx" -version = "0.4.1" +version = "0.4.2" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/launchbadge/sqlx" @@ -94,8 +94,8 @@ bstr = [ "sqlx-core/bstr" ] git2 = [ "sqlx-core/git2" ] [dependencies] -sqlx-core = { version = "=0.4.0", path = "sqlx-core", default-features = false } -sqlx-macros = { version = "=0.4.0", path = "sqlx-macros", default-features = false, optional = true } +sqlx-core = { version = "=0.4.2", path = "sqlx-core", default-features = false } +sqlx-macros = { version = "=0.4.2", path = "sqlx-macros", default-features = false, optional = true } [dev-dependencies] anyhow = "1.0.31" diff --git a/README.md b/README.md index cb6e3893..4112055f 100644 --- a/README.md +++ b/README.md @@ -113,9 +113,9 @@ SQLx is compatible with the [`async-std`], [`tokio`] and [`actix`] runtimes; and # Cargo.toml [dependencies] # tokio + rustls -sqlx = { version = "0.4.0", features = [ "runtime-tokio-rustls" ] } +sqlx = { version = "0.4.2", features = [ "runtime-tokio-rustls" ] } # async-std + native-tls -sqlx = { version = "0.4.0", features = [ "runtime-async-std-native-tls" ] } +sqlx = { version = "0.4.2", 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). diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index 911e07d1..a5088253 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlx-core" -version = "0.4.0" +version = "0.4.2" repository = "https://github.com/launchbadge/sqlx" description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly." license = "MIT OR Apache-2.0" diff --git a/sqlx-macros/Cargo.toml b/sqlx-macros/Cargo.toml index ab1e255d..a9323fb4 100644 --- a/sqlx-macros/Cargo.toml +++ b/sqlx-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlx-macros" -version = "0.4.0" +version = "0.4.2" repository = "https://github.com/launchbadge/sqlx" description = "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly." license = "MIT OR Apache-2.0" @@ -61,7 +61,7 @@ heck = "0.3.1" either = "1.5.3" lazy_static = "1.4.0" proc-macro2 = { version = "1.0.9", default-features = false } -sqlx-core = { version = "0.4.0", default-features = false, path = "../sqlx-core" } +sqlx-core = { version = "0.4.2", default-features = false, path = "../sqlx-core" } sqlx-rt = { version = "0.2.0", default-features = false, path = "../sqlx-rt" } serde = { version = "1.0.111", optional = true } serde_json = { version = "1.0.30", features = [ "preserve_order" ], optional = true }