Widened Swift Crypto versions to "1.0.0" ..< "6.0.0" (#330)

Widened Swift Crypto versions to "1.0.0" ..< "6.0.0"

### Motivation:

Swift Crypto 5.0.3 contains a security patch that has not been applied
to v4.
This commit is contained in:
Maciej Trybilo authored and GitHub committed 2026-10-22 19:33:08 +01:00
1 parent 4eaac9f911
commit 8e1249b29f
1 file changed
+2 -2
+2 -2
View File
@@ -353,12 +353,12 @@ let package = Package(
// that have a direct dependency on swift-crypto accept beta releases as well.
if ProcessInfo.processInfo.environment["SWIFT_NIO_EXTRAS_ALLOW_SWIFT_CRYPTO_BETA"] == nil {
package.dependencies += [
.package(url: "https://github.com/apple/swift-crypto.git", "3.0.0"..<"5.0.0")
.package(url: "https://github.com/apple/swift-crypto.git", "3.0.0"..<"6.0.0")
]
} else {
print("Accepting beta versions of swift-crypto!")
package.dependencies += [
.package(url: "https://github.com/apple/swift-crypto.git", "3.0.0"..<"5.0.0-beta.max")
.package(url: "https://github.com/apple/swift-crypto.git", "3.0.0"..<"6.0.0-beta.max")
]
}