diff --git a/Examples/Package.swift b/Examples/Package.swift index 58714eb5d..696092cba 100644 --- a/Examples/Package.swift +++ b/Examples/Package.swift @@ -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") diff --git a/Package.swift b/Package.swift index c605b2f0e..e4dcc717c 100644 --- a/Package.swift +++ b/Package.swift @@ -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"),