fix: enable native-tls feature for reqwest to respect system certificates (#1921)

Fixes #1794

Adds native-tls feature to reqwest dependency, allowing ZeroClaw to use
certificates trusted by the system's native TLS implementation. This
enables proper certificate validation for users with custom CA roots
or corporate PKI infrastructure.

Co-authored-by: Preventnetworkhacking <preventnetworkhacking@users.noreply.github.com>
This commit is contained in:
Tom Cr00se 2026-02-26 01:45:32 -08:00 committed by GitHub
parent 9b0e70b2f2
commit 8b097ec965
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ tokio-util = { version = "0.7", default-features = false }
tokio-stream = { version = "0.1.18", default-features = false, features = ["fs", "sync"] }
# HTTP client - minimal features
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "blocking", "multipart", "stream", "socks"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "native-tls", "blocking", "multipart", "stream", "socks"] }
# Matrix client + E2EE decryption
matrix-sdk = { version = "0.16", optional = true, default-features = false, features = ["e2e-encryption", "rustls-tls", "markdown", "sqlite"] }