Skip to content

Commit 67ce582

Browse files
authored
Merge pull request #28 from scottrhoyt/patch-1
DecodingMethod conforms to Sendable when Swift >= 5.5.
2 parents d98e855 + 5413af5 commit 67ce582

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Sources/Version+Codable.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ public extension CodingUserInfoKey {
3232
/// A value indicating what decoding method to use: tolerant or strict. Default value is strict
3333
static let decodingMethod = CodingUserInfoKey(rawValue: "dev.mxcl.Version.decodingMethod")!
3434
}
35+
36+
#if swift(>=5.5)
37+
extension DecodingMethod: Sendable {}
38+
#endif

0 commit comments

Comments
 (0)