This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

When working with an Xcode project:

When working with a Swift Package Manager manifest:

Select a package version:

1.0.0

main


Imitating Rust's Either function, the Swift language can also have the function of choosing between two options.


Compatibility

Full Build Results