Add support for swift vers range
Opened this issue · 0 comments
keshav-space commented
Swift uses semantic versioning. Refer to the official Swift documentation https://docs.swift.org/package-manager/PackageDescription/PackageDescription.html#version
The following are the native version ranges supported in the Swift manifest and their corresponding vers expression:
Native | Vers |
---|---|
exact: "1.2.3" |
vers:swift/1.2.3 |
from: "1.2.3" |
vers:swift/>=1.2.3|<2.0.0 |
"1.2.3"..<"1.2.6" |
vers:swift/>=1.2.3|<1.2.6 |
"1.2.3"..."1.2.6" |
vers:swift/>=1.2.3|<=1.2.6 |
https://docs.swift.org/package-manager/PackageDescription/PackageDescription.html#package-dependency