mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
release: 0.5
This commit is contained in:
parent
12246da4d1
commit
94d0baeb52
5 changed files with 10 additions and 10 deletions
|
@ -17,7 +17,7 @@ members = [
|
|||
|
||||
[package]
|
||||
name = "sqlx"
|
||||
version = "0.4.2"
|
||||
version = "0.5.0"
|
||||
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.2", path = "sqlx-core", default-features = false }
|
||||
sqlx-macros = { version = "=0.4.2", path = "sqlx-macros", default-features = false, optional = true }
|
||||
sqlx-core = { version = "0.5", path = "sqlx-core", default-features = false }
|
||||
sqlx-macros = { version = "0.5", path = "sqlx-macros", default-features = false, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = "1.0.31"
|
||||
|
|
|
@ -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.2", features = [ "runtime-tokio-rustls" ] }
|
||||
sqlx = { version = "0.5", features = [ "runtime-tokio-rustls" ] }
|
||||
# async-std + native-tls
|
||||
sqlx = { version = "0.4.2", features = [ "runtime-async-std-native-tls" ] }
|
||||
sqlx = { version = "0.5", 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>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "sqlx-cli"
|
||||
version = "0.2.0"
|
||||
version = "0.5.0"
|
||||
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.4.0", path = "..", default-features = false, features = [ "runtime-async-std-native-tls", "migrate", "any", "offline" ] }
|
||||
sqlx = { version = "0.5", path = "..", default-features = false, features = [ "runtime-async-std-native-tls", "migrate", "any", "offline" ] }
|
||||
futures = "0.3"
|
||||
clap = "=3.0.0-beta.2"
|
||||
chrono = "0.4"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "sqlx-core"
|
||||
version = "0.4.2"
|
||||
version = "0.5.0"
|
||||
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"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "sqlx-macros"
|
||||
version = "0.4.2"
|
||||
version = "0.5.0"
|
||||
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"
|
||||
|
@ -60,7 +60,7 @@ 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.4.2", default-features = false, path = "../sqlx-core" }
|
||||
sqlx-core = { version = "0.5", default-features = false, path = "../sqlx-core" }
|
||||
sqlx-rt = { version = "0.2.0", 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 }
|
||||
|
|
Loading…
Reference in a new issue