Update README.md (#65)

This commit is contained in:
Johannes Weiss 2020-03-04 16:37:02 +00:00 committed by GitHub
parent 708b960b46
commit a8db098592
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -15,9 +15,8 @@ If you have a server-side Swift application, or maybe a cross-platform (e.g. Lin
To add a dependency on the metrics API package, you need to declare it in your `Package.swift`: To add a dependency on the metrics API package, you need to declare it in your `Package.swift`:
```swift ```swift
// As of May 5, 2019, SwiftMetrics' major stable release is 1.0.0 // swift-metrics 1.x and 2.x are almost API compatible, so most clients should use
// To depend on this release, you can use .package(url: "https://github.com/apple/swift-metrics.git", "1.0.0" ..< "3.0.0"),
.package(url: "https://github.com/apple/swift-metrics.git", from: "1.0.0"),
``` ```
and to your application/library target, add "Metrics" to your dependencies: and to your application/library target, add "Metrics" to your dependencies: