Skip to content

Commit 66119f3

Browse files
Update to use NIOFoundationCompat (#1)
1 parent b98dc34 commit 66119f3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ let package = Package(
5757
dependencies: [
5858
.target(name: "Analyst"),
5959
.product(name: "AsyncHTTPClient", package: "async-http-client"),
60+
.product(name: "NIOFoundationCompat", package: "swift-nio")
6061
]
6162
),
6263
.testTarget(

Sources/PrometheusAnalyst/Provider/PrometheusProvider.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
21
import AsyncHTTPClient
2+
import NIOFoundationCompat
3+
34

45
public class Prometheus: MetricProvider {
56
public typealias Timer = Analyst.Timer

0 commit comments

Comments
 (0)