From b1dd29b38712f4b218aef17e0618ba0635af5f75 Mon Sep 17 00:00:00 2001 From: cnkwocha Date: Tue, 27 Aug 2024 15:26:13 +0100 Subject: [PATCH] Upper-bound swift-docc-plugin dependency version Motivation: Building swift-nio-http2 with Swift 5.8 fails due to a compiler error when building swift-docc-plugin (https://github.com/swiftlang/swift-docc-plugin/issues/94). Modifications: - Adjust the dependency version of swift-docc-plugin from `from: "1.0.0"` to `"1.0.0"..<"1.4.0"`. Result: Building swift-nio-http2 with Swift 5.8 will now be successful. --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index cd039870..8b818114 100644 --- a/Package.swift +++ b/Package.swift @@ -23,7 +23,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/apple/swift-nio.git", from: "2.60.0"), .package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.2"), - .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"), + .package(url: "https://github.com/apple/swift-docc-plugin", "1.0.0"..<"1.4.0"), ], targets: [ .executableTarget(