release: v0.4.2

This commit is contained in:
Ryan Leckey 2020-12-19 01:07:50 -08:00
parent 46d30d2b5c
commit 565d0a91a3
No known key found for this signature in database
GPG Key ID: F8AA68C235AB08C9
5 changed files with 11 additions and 11 deletions

6
Cargo.lock generated
View File

@ -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",

View File

@ -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"

View File

@ -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" ] }
```
<sub><sup>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).</sup></sub>

View File

@ -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"

View File

@ -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 }