Skip to content

Commit 4360069

Browse files
authored
Update Swiftnio to 2.81.0 (#14)
1 parent 1492497 commit 4360069

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let package = Package(
1616
],
1717
dependencies: [
1818
// Dependencies declare other packages that this package depends on.
19-
.package(url: "https://github.com/apple/swift-nio.git", from: "2.73.0"),
19+
.package(url: "https://github.com/apple/swift-nio.git", from: "2.81.0"),
2020
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.3"),
2121
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.25.0"),
2222
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.1")

Sources/LCLPing/Configuration.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
import Foundation
1414

1515
/// Type of reachability test that `LCLPing` supports
16-
public enum PingType {
16+
public enum PingType: String, CaseIterable, Identifiable {
17+
public var id: Self { self }
1718
/// Perform reachability ping test through the ICMP protocol.
1819
case icmp
1920

0 commit comments

Comments
 (0)