From d09e751437b59f88ecd698b54dcae01b7e3986da Mon Sep 17 00:00:00 2001 From: Konrad `ktoso` Malawski Date: Thu, 9 Dec 2021 20:53:49 +0900 Subject: [PATCH] Update how we recommend including the dependency Since otherwise current users get hit with warnings. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d0f885..46e8102 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,13 @@ To add a dependency on the metrics API package, you need to declare it in your ` and to your application/library target, add "Metrics" to your dependencies: ```swift -.target(name: "BestExampleApp", dependencies: ["Metrics"]), +.target( + name: "BestExampleApp", + dependencies: [ + // ... + .product(name: "Metrics", package: "swift-metrics"), + ] +), ``` ### Emitting metrics information