Added the hummingbird package dependency to the Package file ans attached its products to the library and tests targets.

This commit is contained in:
2025-09-17 19:18:48 +02:00
parent 1c4f98973b
commit 8a2cbdeabf
+7
View File
@@ -17,15 +17,22 @@ let package = Package(
targets: [DocCMiddleware.target]
),
],
dependencies: [
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0")
],
targets: [
.target(
name: DocCMiddleware.target,
dependencies: [
.product(name: "Hummingbird", package: "hummingbird"),
],
path: "Sources/DocCMiddleware",
swiftSettings: [.enableExperimentalFeature("StrictConcurrency=complete")]
),
.testTarget(
name: DocCMiddleware.test,
dependencies: [
.product(name: "HummingbirdTesting", package: "hummingbird"),
.byName(name: DocCMiddleware.target)
],
path: "Tests/DocCMiddleware"