mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-11-03 15:02:50 +00:00
release: 0.5
This commit is contained in:
parent
12246da4d1
commit
94d0baeb52
@ -17,7 +17,7 @@ members = [
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "sqlx"
|
name = "sqlx"
|
||||||
version = "0.4.2"
|
version = "0.5.0"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/launchbadge/sqlx"
|
repository = "https://github.com/launchbadge/sqlx"
|
||||||
@ -94,8 +94,8 @@ bstr = [ "sqlx-core/bstr" ]
|
|||||||
git2 = [ "sqlx-core/git2" ]
|
git2 = [ "sqlx-core/git2" ]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sqlx-core = { version = "=0.4.2", path = "sqlx-core", default-features = false }
|
sqlx-core = { version = "0.5", path = "sqlx-core", default-features = false }
|
||||||
sqlx-macros = { version = "=0.4.2", path = "sqlx-macros", default-features = false, optional = true }
|
sqlx-macros = { version = "0.5", path = "sqlx-macros", default-features = false, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = "1.0.31"
|
anyhow = "1.0.31"
|
||||||
|
|||||||
@ -113,9 +113,9 @@ SQLx is compatible with the [`async-std`], [`tokio`] and [`actix`] runtimes; and
|
|||||||
# Cargo.toml
|
# Cargo.toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# tokio + rustls
|
# tokio + rustls
|
||||||
sqlx = { version = "0.4.2", features = [ "runtime-tokio-rustls" ] }
|
sqlx = { version = "0.5", features = [ "runtime-tokio-rustls" ] }
|
||||||
# async-std + native-tls
|
# 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>
|
<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]
|
[package]
|
||||||
name = "sqlx-cli"
|
name = "sqlx-cli"
|
||||||
version = "0.2.0"
|
version = "0.5.0"
|
||||||
description = "Command-line utility for SQLx, the Rust SQL toolkit."
|
description = "Command-line utility for SQLx, the Rust SQL toolkit."
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
@ -27,7 +27,7 @@ path = "src/bin/cargo-sqlx.rs"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
dotenv = "0.15"
|
dotenv = "0.15"
|
||||||
tokio = { version = "1.0.1", features = ["macros", "rt", "rt-multi-thread"] }
|
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"
|
futures = "0.3"
|
||||||
clap = "=3.0.0-beta.2"
|
clap = "=3.0.0-beta.2"
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sqlx-core"
|
name = "sqlx-core"
|
||||||
version = "0.4.2"
|
version = "0.5.0"
|
||||||
repository = "https://github.com/launchbadge/sqlx"
|
repository = "https://github.com/launchbadge/sqlx"
|
||||||
description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly."
|
description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly."
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sqlx-macros"
|
name = "sqlx-macros"
|
||||||
version = "0.4.2"
|
version = "0.5.0"
|
||||||
repository = "https://github.com/launchbadge/sqlx"
|
repository = "https://github.com/launchbadge/sqlx"
|
||||||
description = "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly."
|
description = "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly."
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
@ -60,7 +60,7 @@ heck = "0.3.1"
|
|||||||
either = "1.5.3"
|
either = "1.5.3"
|
||||||
once_cell = { version = "1.5.2", optional = true }
|
once_cell = { version = "1.5.2", optional = true }
|
||||||
proc-macro2 = { version = "1.0.9", default-features = false }
|
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" }
|
sqlx-rt = { version = "0.2.0", default-features = false, path = "../sqlx-rt" }
|
||||||
serde = { version = "1.0.111", features = ["derive"], optional = true }
|
serde = { version = "1.0.111", features = ["derive"], optional = true }
|
||||||
serde_json = { version = "1.0.30", features = ["preserve_order"], optional = true }
|
serde_json = { version = "1.0.30", features = ["preserve_order"], optional = true }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user