Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): don't force native-tls feature on desktop #12445

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

FabianLars
Copy link
Member

@FabianLars FabianLars commented Jan 19, 2025

this caused issues 2 or 3 times on discord now and since we use reqwest only on mobile it really doesn't make sense, especially considering that the http plugin etc all set rustls as default.

i also changed the deps in tauri to declare reqwest as a mobile only dependency.

Edit: fixes #12448

@FabianLars FabianLars requested a review from a team as a code owner January 19, 2025 16:57
Copy link
Contributor

github-actions bot commented Jan 19, 2025

Package Changes Through f8eac28

There are 3 changes which include tauri-cli with patch, tauri with patch, @tauri-apps/cli with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri 2.2.3 2.2.4
@tauri-apps/cli 2.2.5 2.2.6
tauri-cli 2.2.5 2.2.6

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@amrbashir amrbashir requested a review from lucasfernog January 19, 2025 20:28
@FabianLars
Copy link
Member Author

actually, since we forcefully enable rustls-tls on mobile instead of checking it first like on desktop we could just as well "hardcode" it in the reqwest dependency here, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] undeclared hyper-tls dependency of tauri causes failure with offline builds
1 participant