mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-22 04:30:42 +00:00
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:
1 parent
4eaac9f911
commit
8e1249b29f
1 file changed
+2
-2
+2
-2
@@ -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")
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user