Skip to content

Commit fc26733

Browse files
committed
fix: bump direct dependency minimum versions
To eliminate another dep to manage, brought in #4171 All workspace Cargo.toml files bumped direct dependency minimum versions to be compatible with transitive requirements under direct-minimal-versions: - memchr 2.4.1 → 2.5.0 (winnow needs ^2.5) - futures-* → 0.3.31 (futures-util needs futures-core ^0.3.31) - serde → 1.0.218, serde_json → 1.0.85 - proc-macro2 → 1.0.83, syn → 2.0.87, quote → 1.0.35 - tokio → 1.20.1, time → 0.3.37, uuid → 1.12.1 - smallvec → 1.10.0, bitflags → 2.4, percent-encoding → 2.3.0 - rand → 0.8.5, dotenvy → 0.15.7, plus many others Aligned all examples to the same minimums, then regenerated Cargo.lock with normal resolver.
1 parent 8b477cd commit fc26733

File tree

30 files changed

+956
-798
lines changed

30 files changed

+956
-798
lines changed

Cargo.lock

Lines changed: 827 additions & 670 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ chrono = { version = "0.4.34", default-features = false, features = ["std", "clo
183183
ipnet = "2.3.0"
184184
ipnetwork = "0.21.1"
185185
mac_address = "1.1.5"
186-
rust_decimal = { version = "1.26.1", default-features = false, features = ["std"] }
187-
time = { version = "0.3.36", features = ["formatting", "parsing", "macros"] }
188-
uuid = "1.1.2"
186+
rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] }
187+
time = { version = "0.3.37", features = ["formatting", "parsing", "macros"] }
188+
uuid = "1.12.1"
189189

190190
# Common utility crates
191191
cfg-if = "1.0.0"
192-
dotenvy = { version = "0.15.0", default-features = false }
192+
dotenvy = { version = "0.15.7", default-features = false }
193193
thiserror = { version = "2.0.17", default-features = false, features = ["std"] }
194194

195195
# Runtimes
@@ -206,7 +206,7 @@ version = "2.0"
206206
default-features = false
207207

208208
[workspace.dependencies.tokio]
209-
version = "1"
209+
version = "1.20.1"
210210
features = ["time", "net", "sync", "fs", "io-util", "rt"]
211211
default-features = false
212212

@@ -219,20 +219,20 @@ sqlx-postgres = { workspace = true, optional = true }
219219
sqlx-sqlite = { workspace = true, optional = true }
220220

221221
[dev-dependencies]
222-
anyhow = "1.0.52"
223-
time_ = { version = "0.3.2", package = "time" }
224-
futures-util = { version = "0.3.19", default-features = false, features = ["alloc"] }
222+
anyhow = "1.0.58"
223+
time_ = { version = "0.3.37", package = "time" }
224+
futures-util = { version = "0.3.31", default-features = false, features = ["alloc"] }
225225
env_logger = "0.11"
226226
async-std = { workspace = true, features = ["attributes"] }
227-
tokio = { version = "1.15.0", features = ["full"] }
228-
dotenvy = "0.15.0"
227+
tokio = { version = "1.20.1", features = ["full"] }
228+
dotenvy = "0.15.7"
229229
trybuild = "1.0.53"
230230
sqlx-test = { path = "./sqlx-test" }
231231
paste = "1.0.6"
232-
serde = { version = "1.0.132", features = ["derive"] }
233-
serde_json = "1.0.73"
232+
serde = { version = "1.0.218", features = ["derive"] }
233+
serde_json = "1.0.85"
234234
url = "2.2.2"
235-
rand = "0.8.4"
235+
rand = "0.8.5"
236236
rand_xoshiro = "0.6.0"
237237
hex = "0.4.3"
238238
tempfile = "3.10.1"

examples/mysql/todos/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
workspace = "../../../"
66

77
[dependencies]
8-
anyhow = "1.0"
8+
anyhow = "1.0.58"
99
sqlx = { path = "../../../", features = [ "mysql", "runtime-tokio", "tls-native-tls" ] }
10-
clap = { version = "4", features = ["derive"] }
11-
tokio = { version = "1.20.0", features = ["rt", "macros"]}
10+
clap = { version = "4.3.10", features = ["derive"] }
11+
tokio = { version = "1.20.1", features = ["rt", "macros"]}

examples/postgres/axum-social-with-tests/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros"] }
1515
argon2 = "0.4.1"
1616
rand = "0.8.5"
1717
regex = "1.6.0"
18-
serde = "1.0.140"
18+
serde = "1.0.218"
1919
serde_with = { version = "2.0.0", features = ["time_0_3"] }
20-
time = "0.3.11"
21-
uuid = { version = "1.1.2", features = ["serde"] }
20+
time = "0.3.37"
21+
uuid = { version = "1.12.1", features = ["serde"] }
2222
validator = { version = "0.16.0", features = ["derive"] }
2323

2424
# Auxilliary crates
2525
anyhow = "1.0.58"
26-
dotenvy = "0.15.1"
27-
thiserror = "2.0.0"
28-
tracing = "0.1.35"
26+
dotenvy = "0.15.7"
27+
thiserror = "2.0.17"
28+
tracing = "0.1.37"
2929

3030
[dev-dependencies]
31-
serde_json = "1.0.82"
31+
serde_json = "1.0.85"
3232
tower = "0.4.13"

examples/postgres/chat/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ workspace = "../../../"
66

77
[dependencies]
88
sqlx = { path = "../../../", features = [ "postgres", "runtime-tokio", "tls-native-tls" ] }
9-
tokio = { version = "1.20.0", features = [ "rt-multi-thread", "macros" ] }
9+
tokio = { version = "1.20.1", features = [ "rt-multi-thread", "macros" ] }
1010
ratatui = "0.27.0"
1111
crossterm = "0.27.0"
12-
unicode-width = "0.1"
12+
unicode-width = "0.1.13"

examples/postgres/files/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
anyhow = "1.0"
9+
anyhow = "1.0.58"
1010
sqlx = { path = "../../../", features = [ "postgres", "runtime-tokio", "tls-native-tls" ] }
11-
tokio = { version = "1.20.0", features = ["rt", "macros"]}
12-
dotenvy = "0.15.0"
11+
tokio = { version = "1.20.1", features = ["rt", "macros"]}
12+
dotenvy = "0.15.7"

examples/postgres/json/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ edition = "2021"
55
workspace = "../../../"
66

77
[dependencies]
8-
anyhow = "1.0"
9-
dotenvy = "0.15.0"
10-
serde = { version = "1", features = ["derive"] }
11-
serde_json = "1"
8+
anyhow = "1.0.58"
9+
dotenvy = "0.15.7"
10+
serde = { version = "1.0.218", features = ["derive"] }
11+
serde_json = "1.0.85"
1212
sqlx = { path = "../../../", features = [ "runtime-tokio", "postgres", "json" ] }
13-
clap = { version = "4", features = ["derive"] }
14-
tokio = { version = "1.20.0", features = ["rt", "macros"]}
13+
clap = { version = "4.3.10", features = ["derive"] }
14+
tokio = { version = "1.20.1", features = ["rt", "macros"]}

examples/postgres/listen/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ workspace = "../../../"
66

77
[dependencies]
88
sqlx = { path = "../../../", features = [ "runtime-tokio", "postgres" ] }
9-
futures-util = { version = "0.3.1", default-features = false }
10-
tokio = { version = "1.20.0", features = ["rt-multi-thread", "macros", "time"]}
9+
futures-util = { version = "0.3.31", default-features = false }
10+
tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros", "time"]}

examples/postgres/mockable-todos/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ edition = "2021"
55
workspace = "../../../"
66

77
[dependencies]
8-
anyhow = "1.0"
8+
anyhow = "1.0.58"
99
sqlx = { path = "../../../", features = [ "postgres", "runtime-tokio", "tls-native-tls" ] }
10-
clap = { version = "4", features = ["derive"] }
11-
tokio = { version = "1.20.0", features = ["rt", "macros"]}
12-
dotenvy = "0.15.0"
13-
async-trait = "0.1.41"
10+
clap = { version = "4.3.10", features = ["derive"] }
11+
tokio = { version = "1.20.1", features = ["rt", "macros"]}
12+
dotenvy = "0.15.7"
13+
async-trait = "0.1.43"
1414
mockall = "0.11"

examples/postgres/multi-database/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ categories.workspace = true
99
authors.workspace = true
1010

1111
[dependencies]
12-
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
12+
tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros"] }
1313

1414
color-eyre = "0.6.3"
1515
dotenvy = "0.15.7"

0 commit comments

Comments
 (0)