Skip to content

Commit 4290b2c

Browse files
authored
Explicit dependency on HTTPTypes (#39)
### Motivation Recent SwiftPM versions seem to be a bit stricter about using (i.e., `import ...`) transitive dependencies without explicitly declaring them as direct dependencies. ### Modifications Explicitly depend on the HTTPTypes module from swift-http-types. ### Result More explicitly declare the dependency graph. ### Test Plan All tests pass.
1 parent 4baf5fa commit 4290b2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Package.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ let package = Package(
4242
],
4343
dependencies: [
4444
.package(url: "https://github.com/apple/swift-openapi-runtime", exact: "1.0.0-alpha.1"),
45+
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.0"),
4546
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
4647
.package(url: "https://github.com/apple/swift-collections", from: "1.0.0"),
4748
],
@@ -51,6 +52,7 @@ let package = Package(
5152
dependencies: [
5253
.product(name: "DequeModule", package: "swift-collections"),
5354
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
55+
.product(name: "HTTPTypes", package: "swift-http-types")
5456
],
5557
swiftSettings: swiftSettings
5658
),

0 commit comments

Comments
 (0)