Skip to content

Commit 585ac70

Browse files
committed
Update readme to reflect NIO 1 backwards compat
1 parent 01b4acc commit 585ac70

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
A prometheus client for Swift supporting counters, gauges, histograms, summaries and info.
66

7+
# Installation
8+
9+
SwiftPormetheus is available through SPM. To include it in your project add the following dependency to your `Package.swift`:
10+
```swift
11+
.package(url: "https://github.com/MrLotU/SwiftPrometheus.git", from: "1.0.0-alpha")
12+
```
13+
14+
_NOTE: For NIO 1 use `from: "0.0.0-alpha"` instead._
15+
716
# Usage
817

918
To see a working demo, see [PrometheusExample](./Sources/PrometheusExample/main.swift).

0 commit comments

Comments
 (0)