diff --git a/Cargo.toml b/Cargo.toml index b61fd93e..c56d952a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/README.md b/README.md index a91bf855..620491a9 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.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" ] } ``` 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-cli/Cargo.toml b/sqlx-cli/Cargo.toml index 0539daf3..b99384dd 100644 --- a/sqlx-cli/Cargo.toml +++ b/sqlx-cli/Cargo.toml @@ -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" diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index af6a83d5..053a8569 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -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" diff --git a/sqlx-macros/Cargo.toml b/sqlx-macros/Cargo.toml index 679b5179..fd1518f7 100644 --- a/sqlx-macros/Cargo.toml +++ b/sqlx-macros/Cargo.toml @@ -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 }