Skip to content

Commit

Permalink
Work around dependency conflict in latest DNSClient (#59)
Browse files Browse the repository at this point in the history
Work around dependency conflict in latest DNSClient by pinning to a working version via a fake dependency. Requires a MongoKitten with an updated dependency URL.
  • Loading branch information
gwynne authored May 18, 2023
1 parent 6129661 commit a4237b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/vapor/fluent-kit.git", from: "1.37.0"),
.package(url: "https://github.com/OpenKitten/MongoKitten.git", from: "6.6.4"),
.package(url: "https://github.com/orlandos-nl/MongoKitten.git", from: "6.7.13"),
.package(url: "https://github.com/orlandos-nl/DNSClient.git", exact: "2.3.0"),
],
targets: [
.target(
name: "FluentMongoDriver",
dependencies: [
.product(name: "FluentKit", package: "fluent-kit"),
.product(name: "MongoKitten", package: "MongoKitten"),
.product(name: "DNSClient", package: "DNSClient"),
]
),
.testTarget(
Expand Down

0 comments on commit a4237b9

Please sign in to comment.