Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

import FoundationEssentials instead of Foundation when available#798

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
t089 wants to merge1 commit intoswift-server:main
base:main
Choose a base branch
Loading
fromt089:foundation-essentials

Conversation

@t089
Copy link
Contributor

This PR replacesimport Foundation withimport FoundationEssentials when available.

LinkingFoundation on Linux comes with a significant binary size increase due to the included icu data. None of this is necessary for the HTTP client. Instead we can useFoundationEssentials to get access to the essential types likeURL,Data,Date, ... without including icu data.

According to@Lukasa, sadly, this might be a semver major change. :(

iwa reacted with thumbs up emoji
@Lukasa
Copy link
Collaborator

Indeed it is. Seeapple/swift-crypto#317 for the full discussion.

@LukasaLukasa added the ⚠️ semver/majorBreaks existing public API. labelDec 30, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

⚠️ semver/majorBreaks existing public API.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@t089@Lukasa

[8]ページ先頭

©2009-2025 Movatter.jp