Skip to content

Commit f07ab52

Browse files
Merge pull request #15 from roanutil/sendable
Add sendable conformance when available
2 parents a70840d + 0f62f9e commit f07ab52

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/SemanticVersion/SemanticVersion.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ extension SemanticVersion {
9696
public var isInitialRelease: Bool { return self == .init(0, 0, 0) }
9797
}
9898

99+
#if swift(>=5.5)
100+
extension SemanticVersion: Sendable {}
101+
#endif
102+
99103

100104
// Source: https://regex101.com/r/Ly7O1x/3/
101105
// Linked from https://semver.org

0 commit comments

Comments
 (0)