Skip to content

Adding Package.swift for Swift 5 versions #225

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
Jul 24, 2025

Conversation

mergesort
Copy link
Contributor

I needed to deploy this library to my Swift 5 server, so I had to make a new Package.swift that wasn't tied to Swift 6 to make it work.

The two changes are:

  • // swift-tools-version:6.0 -> // swift-tools-version:5.10
  • Removed swiftLanguageModes: [.v6]

Let me know if any changes are needed, happy to accept all feedback if you have another preferred way of doing this.

@0xTim
Copy link
Contributor

0xTim commented Jul 15, 2025

If we want to support 5.10 we should definitely add CI for it

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@mergesort
Copy link
Contributor Author

I'm not great with CI so I asked Claude to double check my work. I'm pretty sure this should match what you did, but I'm happy to make a change if there's anything else I should do to add CI support for Swift 5.

Copy link
Contributor

@0xTim 0xTim left a comment

Choose a reason for hiding this comment

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

LGTM - @kylebrowning any objections?

@kylebrowning
Copy link
Member

Nope!

@kylebrowning kylebrowning merged commit 01b731f into swift-server-community:main Jul 24, 2025
6 checks passed
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.

3 participants