Skip to content

Commit 3dd40af

Browse files
authored
FIX: sqlx fails to build due to libssl linking error (#724)
1 parent a431b73 commit 3dd40af

File tree

2 files changed

+108
-124
lines changed

2 files changed

+108
-124
lines changed

Cargo.lock

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

packages/backend/Cargo.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ axum = "0.7.7"
99
chrono = { version = "0.4.40", features = ["serde"] }
1010
clap = "4.5.44"
1111
dotenvy = "0.15.7"
12-
firebase-auth = { version = "0.4.3", default-features = false }
12+
firebase-auth = { version = "0.5.1", default-features = false, features = [
13+
"rustls",
14+
] }
1315
http = "1.1.0"
1416
hyper = { version = "1.4.1", features = ["server"] }
1517
jsonrpsee = "0.24.6"
@@ -22,7 +24,7 @@ serde_json = "1.0.128"
2224
socketioxide = { version = "0.14.1", features = ["tracing"] }
2325
sqlx = { version = "0.8.2", features = [
2426
"runtime-tokio",
25-
"tls-native-tls",
27+
"tls-rustls",
2628
"postgres",
2729
"uuid",
2830
"json",
@@ -41,3 +43,11 @@ ts-rs = { version = "10.1.0", features = [
4143
"chrono-impl",
4244
] }
4345
uuid = { version = "1.10.0", features = ["v7", "serde"] }
46+
47+
48+
[patch.crates-io]
49+
# Pin reqwest to rustls; add subfeatures only if you need them
50+
reqwest = { version = "0.12.23", default-features = false, features = [
51+
"rustls-tls",
52+
"json",
53+
] }

0 commit comments

Comments
 (0)