Skip to content

Commit

Permalink
Use newest swift-nio version (#557)
Browse files Browse the repository at this point in the history
`swift-nio` has defined a new method `collect(upTo:into:)` on `AsyncSequence` which we use in our examples.
  • Loading branch information
dnadoba authored Feb 10, 2022
1 parent 5844a6b commit 2fc105c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Examples/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let package = Package(
.executable(name: "StreamingByteCounter", targets: ["StreamingByteCounter"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", .branch("main")),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.38.0"),

// in real-world projects this would be
// .package(url: "https://github.com/swift-server/async-http-client.git", from: "1.9.0")
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let package = Package(
.library(name: "AsyncHTTPClient", targets: ["AsyncHTTPClient"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.36.0"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.38.0"),
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.14.1"),
.package(url: "https://github.com/apple/swift-nio-http2.git", from: "1.19.0"),
.package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.10.0"),
Expand Down

0 comments on commit 2fc105c

Please sign in to comment.