Skip to content

Remove platform requirement from Package.swift #130

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

Merged
merged 3 commits into from
Jun 27, 2023

Conversation

adam-fowler
Copy link
Contributor

This PR removes the platform requirement from the Package.swift and replaces it with @available checks throughout the library where they weren't already placed.
I placed everything in the Benchmarks package inside a DSLBenchmarks enum so I only needed to add one @available.

These changes are required if Hummingbird is going to merge in its tracing middleware PR without making it a breaking change

Copy link
Member

@ktoso ktoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay here was out and sick for a while, thanks! LGTM

And great to hear Hummingbird adopting!

@ktoso
Copy link
Member

ktoso commented Jun 27, 2023

@swift-server-bot add to allowlist

@ktoso ktoso added this to the 1.0.1 milestone Jun 27, 2023
@ktoso ktoso merged commit 49b7617 into apple:main Jun 27, 2023
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.

4 participants