Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changes/fix-docs-rs-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:enhance
---

Fix docs.rs build for mobile targets.
4 changes: 2 additions & 2 deletions crates/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ bytes = { version = "1", features = ["serde"] }
reqwest = { version = "0.12", default-features = false, features = [
"json",
"stream",
"rustls-tls",

] }

# android
Expand Down Expand Up @@ -194,7 +194,7 @@ custom-protocol = ["tauri-macros/custom-protocol"]
# For now those feature flags keep enabling reqwest features in case some users depend on that by accident.
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]
rustls-tls = []
rustls-tls = ["reqwest/rustls-tls"]
devtools = ["tauri-runtime/devtools", "tauri-runtime-wry/devtools"]
process-relaunch-dangerous-allow-symlink-macos = [
"tauri-utils/process-relaunch-dangerous-allow-symlink-macos",
Expand Down
1 change: 0 additions & 1 deletion crates/tauri/src/protocol/tauri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ fn get_response<R: Runtime>(
);

let mut proxy_builder = reqwest::ClientBuilder::new()
.use_rustls_tls()
.build()
.unwrap()
.request(request.method().clone(), &url);
Expand Down