0.6.3 hotfix: don't rely on transitive deps enabling syn features

This commit is contained in:
Austin Bonander 2023-03-21 10:55:16 -07:00
parent ef17af31c2
commit 2ab9156f02
No known key found for this signature in database
GPG Key ID: 461F7F0F45383F2B
7 changed files with 922 additions and 598 deletions

1487
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,7 @@ members = [
[package]
name = "sqlx"
version = "0.6.2"
version = "0.6.3"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/launchbadge/sqlx"
@ -125,8 +125,8 @@ bstr = ["sqlx-core/bstr"]
git2 = ["sqlx-core/git2"]
[dependencies]
sqlx-core = { version = "0.6.2", path = "sqlx-core", default-features = false }
sqlx-macros = { version = "0.6.2", path = "sqlx-macros", default-features = false, optional = true }
sqlx-core = { version = "0.6.3", path = "sqlx-core", default-features = false }
sqlx-macros = { version = "0.6.3", path = "sqlx-macros", default-features = false, optional = true }
[dev-dependencies]
anyhow = "1.0.52"

View File

@ -8,7 +8,7 @@ edition = "2021"
[dependencies]
# Primary crates
axum = { version = "0.5.13", features = ["macros"] }
sqlx = { version = "0.6.2", path = "../../../", features = ["runtime-tokio-rustls", "postgres", "time", "uuid"] }
sqlx = { version = "0.6.3", path = "../../../", features = ["runtime-tokio-rustls", "postgres", "time", "uuid"] }
tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros"] }
# Important secondary crates

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-cli"
version = "0.6.2"
version = "0.6.3"
description = "Command-line utility for SQLx, the Rust SQL toolkit."
edition = "2021"
readme = "README.md"
@ -27,7 +27,7 @@ path = "src/bin/cargo-sqlx.rs"
[dependencies]
dotenvy = "0.15.0"
tokio = { version = "1.15.0", features = ["macros", "rt", "rt-multi-thread"] }
sqlx = { version = "0.6.2", path = "..", default-features = false, features = [
sqlx = { version = "0.6.3", path = "..", default-features = false, features = [
"migrate",
"any",
"offline",

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-core"
version = "0.6.2"
version = "0.6.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"
@ -106,7 +106,7 @@ offline = ["serde", "either/serde"]
paste = "1.0.6"
ahash = "0.7.6"
atoi = "1.0"
sqlx-rt = { path = "../sqlx-rt", version = "0.6.2" }
sqlx-rt = { path = "../sqlx-rt", version = "0.6.3" }
base64 = { version = "0.13.0", default-features = false, optional = true, features = ["std"] }
bigdecimal_ = { version = "0.3.0", optional = true, package = "bigdecimal" }
rust_decimal = { version = "1.19.0", optional = true }
@ -178,5 +178,5 @@ event-listener = "2.5.2"
dotenvy = "0.15"
[dev-dependencies]
sqlx = { version = "0.6.2", path = "..", features = ["postgres", "sqlite", "mysql"] }
sqlx = { version = "0.6.3", path = "..", features = ["postgres", "sqlite", "mysql"] }
tokio = { version = "1", features = ["rt"] }

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-macros"
version = "0.6.2"
version = "0.6.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"
@ -75,11 +75,16 @@ heck = { version = "0.4", features = ["unicode"] }
either = "1.6.1"
once_cell = "1.9.0"
proc-macro2 = { version = "1.0.36", default-features = false }
sqlx-core = { version = "0.6.2", default-features = false, features = ["any"], path = "../sqlx-core" }
sqlx-rt = { version = "0.6.2", default-features = false, path = "../sqlx-rt" }
sqlx-core = { version = "0.6.3", default-features = false, features = ["any"], path = "../sqlx-core" }
sqlx-rt = { version = "0.6.3", default-features = false, path = "../sqlx-rt" }
serde = { version = "1.0.132", features = ["derive"], optional = true }
serde_json = { version = "1.0.73", optional = true }
sha2 = { version = "0.10.0", optional = true }
syn = { version = "1.0.84", default-features = false, features = ["full"] }
quote = { version = "1.0.14", default-features = false }
url = { version = "2.2.2", default-features = false }
[dependencies.syn]
# This is basically default features plus "full" but if they add more defaults later then we don't need to enable those.
version = "1.0.109"
default-features = false
features = ["full", "parsing", "printing", "derive", "clone-impls", "proc-macro"]

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-rt"
version = "0.6.2"
version = "0.6.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."