Skip to content

Commit

Permalink
Update to use NIOFoundationCompat (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer authored Dec 3, 2021
1 parent b98dc34 commit 66119f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ let package = Package(
dependencies: [
.target(name: "Analyst"),
.product(name: "AsyncHTTPClient", package: "async-http-client"),
.product(name: "NIOFoundationCompat", package: "swift-nio")
]
),
.testTarget(
Expand Down
3 changes: 2 additions & 1 deletion Sources/PrometheusAnalyst/Provider/PrometheusProvider.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

import AsyncHTTPClient
import NIOFoundationCompat


public class Prometheus: MetricProvider {
public typealias Timer = Analyst.Timer
Expand Down

0 comments on commit 66119f3

Please sign in to comment.