Skip to content

Commit 2a76b91

Browse files
committed
chore: revert -Z direct-minimal-versions
For context: #4173 (comment)
1 parent 5505e78 commit 2a76b91

10 files changed

Lines changed: 15 additions & 14 deletions

File tree

.github/workflows/sqlx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
run: |
7878
rustup show active-toolchain || rustup toolchain install
7979
rustup toolchain install nightly
80-
- run: cargo +nightly generate-lockfile -Z direct-minimal-versions
80+
- run: cargo +nightly generate-lockfile -Z minimal-versions
8181
- run: cargo build --all-features
8282

8383
test:

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,14 @@ ipnet = "2.3.0"
186186
ipnetwork = "0.21.1"
187187
mac_address = "1.1.5"
188188
rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] }
189-
time = { version = "0.3.37", features = ["formatting", "parsing", "macros"] }
189+
time = { version = "0.3.47", features = ["formatting", "parsing", "macros"] }
190190
uuid = "1.12.1"
191191

192192
# Common utility crates
193+
base64 = { version = "0.22.1", default-features = false, features = ["alloc"] }
193194
cfg-if = "1.0.0"
194195
dotenvy = { version = "0.15.7", default-features = false }
195-
thiserror = { version = "2.0.17", default-features = false, features = ["std"] }
196+
thiserror = { version = "2.0.18", default-features = false, features = ["std"] }
196197

197198
# Cryptography
198199
crc = { version = "3.0.0" }
@@ -233,7 +234,7 @@ sqlx-sqlite = { workspace = true, optional = true }
233234

234235
[dev-dependencies]
235236
anyhow = "1.0.58"
236-
time_ = { version = "0.3.37", package = "time" }
237+
time_ = { version = "0.3.47", package = "time" }
237238
futures-util = { version = "0.3.32", default-features = false, features = ["alloc"] }
238239
env_logger = "0.11"
239240
async-std = { workspace = true, features = ["attributes"] }

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ rand = "0.10.1"
1717
regex = "1.6.0"
1818
serde = "1.0.219"
1919
serde_with = { version = "3.18.0", features = ["time_0_3"] }
20-
time = "0.3.37"
20+
time = "0.3.47"
2121
uuid = { version = "1.12.1", features = ["serde"] }
2222
validator = { version = "0.20.0", features = ["derive"] }
2323

2424
# Auxilliary crates
2525
anyhow = "1.0.58"
2626
dotenvy = "0.15.7"
27-
thiserror = "2.0.17"
27+
thiserror = "2.0.18"
2828
tracing = "0.1.37"
2929

3030
[dev-dependencies]

examples/postgres/multi-database/accounts/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ argon2 = { version = "0.5.3", features = ["password-hash"] }
1111
password-hash = { version = "0.6.1", features = ["alloc"] }
1212

1313
uuid = { version = "1.12.1", features = ["serde"] }
14-
thiserror = "1.0.40"
14+
thiserror = "2.0.18"
1515
rand = "0.10.1"
1616

17-
time = { version = "0.3.37", features = ["serde"] }
17+
time = { version = "0.3.47", features = ["serde"] }
1818

1919
serde = { version = "1.0.219", features = ["derive"] }
2020

examples/postgres/multi-database/payments/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sqlx = { workspace = true, features = ["postgres", "time", "uuid", "rust_decimal
99

1010
rust_decimal = "1.36.0"
1111

12-
time = "0.3.37"
12+
time = "0.3.47"
1313
uuid = "1.12.1"
1414

1515
[dependencies.accounts]

examples/postgres/multi-tenant/accounts/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ uuid = { version = "1.12.1", features = ["serde"] }
1414
thiserror = "2.0.18"
1515
rand = "0.10.1"
1616

17-
time = { version = "0.3.37", features = ["serde"] }
17+
time = { version = "0.3.47", features = ["serde"] }
1818

1919
serde = { version = "1.0.219", features = ["derive"] }
2020

examples/postgres/multi-tenant/payments/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77

88
rust_decimal = "1.36.0"
99

10-
time = "0.3.37"
10+
time = "0.3.47"
1111
uuid = "1.12.1"
1212

1313
[dependencies.sqlx]

examples/postgres/preferred-crates/uses-time/Cargo.toml

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

1111
[dependencies]
1212
serde = "1.0.219"
13-
time = "0.3.37"
13+
time = "0.3.47"
1414
uuid = "1.12.1"
1515

1616
[dependencies.sqlx]

sqlx-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ async-fs = { version = "2.1", optional = true }
7575
async-io = { version = "2.4.1", optional = true }
7676
async-task = { version = "4.7.1", optional = true }
7777

78-
base64 = { version = "0.22.0", default-features = false, features = ["std"] }
78+
base64.workspace = true
7979
bytes = "1.2.0"
8080
cfg-if = { workspace = true }
8181
crc = { version = "3", optional = true }

sqlx-postgres/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ uuid = { workspace = true, optional = true }
5353

5454
# Misc
5555
atoi = "2.0"
56-
base64 = { version = "0.22.0", default-features = false, features = ["std"] }
56+
base64.workspace = true
5757
bitflags = { version = "2.4", default-features = false }
5858
byteorder = { version = "1.4.3", default-features = false, features = ["std"] }
5959
hex = "0.4.3"

0 commit comments

Comments
 (0)