Skip to content

Commit

Permalink
Update README for version 0.0.2
Browse files Browse the repository at this point in the history
Since v0.0.1 has the wrong declared name, we want to encourage users to
depend on v0.0.2 or later instead.
  • Loading branch information
lilyball committed Nov 25, 2020
1 parent 650f782 commit 2e4cdfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ See `Guide.playground` for more information on usage.
To use `Deque` in a SwiftPM project, add the following line to the dependencies in your `Package.swift` file:

```swift
.package(url: "https://github.com/lilyball/swift-deque", from: "0.0.1"),
.package(url: "https://github.com/lilyball/swift-deque", from: "0.0.2"),
```

Because `Deque` is still pre-1.0, source-stability is only guaranteed within minor versions. If you don't want potentially source-breaking package updates, use this dependency specification instead:

```swift
.package(url: "https://github.com/lilyball/swift-deque", .upToNextMinor(from: "0.0.1")),
.package(url: "https://github.com/lilyball/swift-deque", .upToNextMinor(from: "0.0.2")),
```

Finally, include `"Deque"` as a dependency for your target:
Expand All @@ -24,7 +24,7 @@ Finally, include `"Deque"` as a dependency for your target:
let package = Package(
// name, etc…
dependencies: [
.package(url: "https://github.com/lilyball/swift-deque", .upToNextMinor(from: "0.0.1")),
.package(url: "https://github.com/lilyball/swift-deque", .upToNextMinor(from: "0.0.2")),
],
targets: [
.target(name: "<target name>", dependencies: [
Expand Down

0 comments on commit 2e4cdfb

Please sign in to comment.