fix(server): missing root cert (#14970)

#### PR Dependency Tree


* **PR #14970** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Updated TLS library dependencies with pinned version constraints
across multiple packages
* Removed `tls-rustls` feature from sqlx configurations in backend and
frontend packages
  * Removed unused `sqlx` dependency from mobile native package
* Refined HTTPS client configuration with embedded certificate roots and
added validation test

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/toeverything/AFFiNE/pull/14970)

<!-- review_stack_entry_end -->

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
DarkSky
2026-05-15 01:02:07 +08:00
committed by GitHub
parent d9cebdfc95
commit 3416de1e4d
8 changed files with 27 additions and 22 deletions

16
Cargo.lock generated
View File

@@ -143,7 +143,6 @@ dependencies = [
"mermaid-rs-renderer",
"objc2",
"objc2-foundation",
"sqlx",
"thiserror 2.0.18",
"tokio",
"typst",
@@ -237,6 +236,7 @@ dependencies = [
"rand 0.9.4",
"rayon",
"reqwest",
"rustls",
"schemars",
"serde",
"serde_json",
@@ -246,6 +246,7 @@ dependencies = [
"tokio",
"url",
"v_htmlescape",
"webpki-roots",
"y-octo",
]
@@ -6225,7 +6226,6 @@ dependencies = [
"memchr",
"once_cell",
"percent-encoding",
"rustls",
"serde",
"serde_json",
"sha2",
@@ -6235,7 +6235,6 @@ dependencies = [
"tokio-stream",
"tracing",
"url",
"webpki-roots 0.26.11",
]
[[package]]
@@ -8048,7 +8047,7 @@ dependencies = [
"rustls-pki-types",
"ureq-proto",
"utf8-zero",
"webpki-roots 1.0.6",
"webpki-roots",
]
[[package]]
@@ -8410,15 +8409,6 @@ dependencies = [
"rustls-pki-types",
]
[[package]]
name = "webpki-roots"
version = "0.26.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
dependencies = [
"webpki-roots 1.0.6",
]
[[package]]
name = "webpki-roots"
version = "1.0.6"