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

Add macos-system-configuration feature flag #2080

Conversation

littledivy
Copy link
Contributor

The system-configuration crate was added in #1955 to support macOS system proxy settings. However, it forces users to link to the SystemConfiguration framework.

This PR makes macOS system proxy a default feature in reqwest. Users can disable the feature and avoid the dyld startup cost of loading the framework.

@littledivy littledivy force-pushed the macos-system-configuration-feature branch from 8bb1d65 to a52aa75 Compare February 1, 2024 05:53
@seanmonstar
Copy link
Owner

I'm curious, does v0.11.25 (which includes #2130) fix it so that this isn't needed?

If it's still needed, we can include this in the 0.12 release that is coming up soon. But wanted to check.

@tnull
Copy link
Contributor

tnull commented Mar 11, 2024

I'm curious, does v0.11.25 (which includes #2130) fix it so that this isn't needed?

If it's still needed, we can include this in the 0.12 release that is coming up soon. But wanted to check.

@seanmonstar Yes, please include this fix. The inclusion of system-configuration let's our builds break left and right ever since reqwest shipped it. We now manually patch each release and probably will soon automate it. Moreover, since reqwest 0.11.25 shipped with #2130, MSRV is broken on macOS, see #2169.

Btw, given that MSRV keeps breaking, I'd highly suggest to re-add the Windows and macOS MSRV checks you had me drop in #1993.

@seanmonstar
Copy link
Owner

Merged this into 0.12-dev in #2185

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

Successfully merging this pull request may close these issues.

None yet

3 participants