Move from platform versions to symbol availability #48
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Packages such as valkey-swift and async-http-client don't use platform versions in their Package.swift, so they can't depend on this package unless we drop it too.
Modifications
Switched from Package.swift platform versions to per-symbol availability.
Result
This does NOT actually make the code work on older versions than before, just changes how we express availability. It's still macOS 15.0+.
Test Plan
All tests passed locally.