Skip to content

Commit 638375c

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 c8e94fe commit 638375c

29 files changed

Lines changed: 895 additions & 764 deletions

File tree

Cargo.lock

Lines changed: 774 additions & 643 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
@@ -185,13 +185,13 @@ chrono = { version = "0.4.34", default-features = false, features = ["std", "clo
185185
ipnet = "2.3.0"
186186
ipnetwork = "0.21.1"
187187
mac_address = "1.1.5"
188-
rust_decimal = { version = "1.26.1", default-features = false, features = ["std"] }
189-
time = { version = "0.3.36", features = ["formatting", "parsing", "macros"] }
190-
uuid = "1.1.2"
188+
rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] }
189+
time = { version = "0.3.37", features = ["formatting", "parsing", "macros"] }
190+
uuid = "1.12.1"
191191

192192
# Common utility crates
193193
cfg-if = "1.0.0"
194-
dotenvy = { version = "0.15.0", default-features = false }
194+
dotenvy = { version = "0.15.7", default-features = false }
195195
thiserror = { version = "2.0.17", default-features = false, features = ["std"] }
196196

197197
# Runtimes
@@ -208,7 +208,7 @@ version = "2.0"
208208
default-features = false
209209

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

@@ -221,20 +221,20 @@ sqlx-postgres = { workspace = true, optional = true }
221221
sqlx-sqlite = { workspace = true, optional = true }
222222

223223
[dev-dependencies]
224-
anyhow = "1.0.52"
225-
time_ = { version = "0.3.2", package = "time" }
226-
futures-util = { version = "0.3.19", default-features = false, features = ["alloc"] }
224+
anyhow = "1.0.58"
225+
time_ = { version = "0.3.37", package = "time" }
226+
futures-util = { version = "0.3.32", default-features = false, features = ["alloc"] }
227227
env_logger = "0.11"
228228
async-std = { workspace = true, features = ["attributes"] }
229-
tokio = { version = "1.15.0", features = ["full"] }
230-
dotenvy = "0.15.0"
229+
tokio = { version = "1.20.1", features = ["full"] }
230+
dotenvy = "0.15.7"
231231
trybuild = "1.0.53"
232232
sqlx-test = { path = "./sqlx-test" }
233233
paste = "1.0.6"
234-
serde = { version = "1.0.132", features = ["derive"] }
235-
serde_json = "1.0.73"
234+
serde = { version = "1.0.218", features = ["derive"] }
235+
serde_json = "1.0.85"
236236
url = "2.2.2"
237-
rand = "0.8.4"
237+
rand = "0.8.5"
238238
rand_xoshiro = "0.6.0"
239239
hex = "0.4.3"
240240
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", "mysql-rsa", "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,19 +15,19 @@ 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.20.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]
3131
http-body-util = "0.1"
32-
serde_json = "1.0.82"
32+
serde_json = "1.0.85"
3333
tower = "0.5"

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.32", 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)