diff --git a/Package.swift b/Package.swift index fe65142..596ed5a 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.2 +// swift-tools-version:5.6 //===----------------------------------------------------------------------===// // // This source file is part of the swift-semver open source project diff --git a/Sources/SwiftSemver/SemanticVersion.swift b/Sources/SwiftSemver/SemanticVersion.swift index c3b87ce..4af07d6 100644 --- a/Sources/SwiftSemver/SemanticVersion.swift +++ b/Sources/SwiftSemver/SemanticVersion.swift @@ -29,7 +29,7 @@ /// provides a detailed algorithm for making this determination. The most notable difference between this algorithm and /// an equality comparison is that precedence does not consider build metadata identifiers; this behavior may be /// observable via, e.g., the results of applying a sorting algorithm. -public struct SemanticVersion: Hashable { +public struct SemanticVersion: Sendable, Hashable { /// The major version number. public var major: UInt