Skip to content

Commit

Permalink
Upper-bound swift-docc-plugin dependency version (#456)
Browse files Browse the repository at this point in the history
Motivation:

Building swift-nio-http2 with Swift 5.8 fails due to a compiler error
when building swift-docc-plugin
(swiftlang/swift-docc-plugin#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.
  • Loading branch information
clintonpi authored Aug 28, 2024
1 parent b5f7062 commit ee1d1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ee1d1aa

Please sign in to comment.