release: v0.5.3

This commit is contained in:
Ryan Leckey 2021-05-21 17:27:15 -07:00
parent f7d3617e1b
commit 13f7c7124a
7 changed files with 289 additions and 292 deletions

549
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@ members = [
[package]
name = "sqlx"
version = "0.5.2"
version = "0.5.3"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/launchbadge/sqlx"
@ -31,7 +31,7 @@ authors = [
"Austin Bonander <austin.bonander@gmail.com>",
"Chloe Ross <orangesnowfox@gmail.com>",
"Daniel Akhterov <akhterovd@gmail.com>",
] # daniel@launchbadge.com
]
[package.metadata.docs.rs]
features = ["all", "runtime-async-std-native-tls"]
@ -129,8 +129,8 @@ bstr = ["sqlx-core/bstr"]
git2 = ["sqlx-core/git2"]
[dependencies]
sqlx-core = { version = "0.5.2", path = "sqlx-core", default-features = false }
sqlx-macros = { version = "0.5.2", path = "sqlx-macros", default-features = false, optional = true }
sqlx-core = { version = "0.5.3", path = "sqlx-core", default-features = false }
sqlx-macros = { version = "0.5.3", path = "sqlx-macros", default-features = false, optional = true }
[dev-dependencies]
anyhow = "1.0.31"

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-cli"
version = "0.5.2"
version = "0.5.3"
description = "Command-line utility for SQLx, the Rust SQL toolkit."
edition = "2018"
readme = "README.md"
@ -27,7 +27,7 @@ path = "src/bin/cargo-sqlx.rs"
[dependencies]
dotenv = "0.15"
tokio = { version = "1.0.1", features = ["macros", "rt", "rt-multi-thread"] }
sqlx = { version = "0.5.2", path = "..", default-features = false, features = [
sqlx = { version = "0.5.3", path = "..", default-features = false, features = [
"runtime-async-std-native-tls",
"migrate",
"any",

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-core"
version = "0.5.2"
version = "0.5.3"
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"
@ -100,7 +100,7 @@ offline = ["serde", "either/serde"]
[dependencies]
ahash = "0.7.2"
atoi = "0.4.0"
sqlx-rt = { path = "../sqlx-rt", version = "0.5.2" }
sqlx-rt = { path = "../sqlx-rt", version = "0.5.3" }
base64 = { version = "0.13.0", default-features = false, optional = true, features = ["std"] }
bigdecimal_ = { version = "0.2.0", optional = true, package = "bigdecimal" }
rust_decimal = { version = "1.8.1", optional = true }
@ -153,10 +153,10 @@ tokio-stream = { version = "0.1.2", features = ["fs"], optional = true }
smallvec = "1.4.0"
url = { version = "2.1.1", default-features = false }
uuid = { version = "0.8.1", default-features = false, optional = true, features = ["std"] }
webpki = { version = "0.21.3", optional = true }
webpki-roots = { version = "0.21.0", optional = true }
webpki = { version = "0.22.0", optional = true }
webpki-roots = { version = "0.22.0", optional = true }
whoami = "1.0.1"
stringprep = "0.1.2"
bstr = { version = "0.2.14", default-features = false, features = ["std"], optional = true }
git2 = { version = "0.13.12", default-features = false, optional = true }
hashlink = "0.6.0"
hashlink = "0.7.0"

View File

@ -80,6 +80,7 @@ impl Migrate for AnyConnection {
}
}
#[allow(deprecated)]
fn version(&mut self) -> BoxFuture<'_, Result<Option<(i64, bool)>, MigrateError>> {
match &mut self.0 {
#[cfg(feature = "postgres")]
@ -112,6 +113,7 @@ impl Migrate for AnyConnection {
}
}
#[allow(deprecated)]
fn validate<'e: 'm, 'm>(
&'e mut self,
migration: &'m Migration,

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-macros"
version = "0.5.2"
version = "0.5.3"
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"
@ -84,8 +84,8 @@ heck = "0.3.1"
either = "1.5.3"
once_cell = { version = "1.5.2", optional = true }
proc-macro2 = { version = "1.0.9", default-features = false }
sqlx-core = { version = "0.5.2", default-features = false, path = "../sqlx-core" }
sqlx-rt = { version = "0.5.2", default-features = false, path = "../sqlx-rt" }
sqlx-core = { version = "0.5.3", default-features = false, path = "../sqlx-core" }
sqlx-rt = { version = "0.5.3", default-features = false, path = "../sqlx-rt" }
serde = { version = "1.0.111", features = ["derive"], optional = true }
serde_json = { version = "1.0.30", features = ["preserve_order"], optional = true }
sha2 = { version = "0.9.1", optional = true }

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-rt"
version = "0.5.2"
version = "0.5.3"
repository = "https://github.com/launchbadge/sqlx"
license = "MIT OR Apache-2.0"
description = "Runtime abstraction used by SQLx, the Rust SQL toolkit. Not intended to be used directly."