Cross platform Swift package for the Sodium library (libsodium) using pre-built binaries.
Unlike other Sodium swift packages that defer to brew or apt-get to distribute the binaries this project uses the new binary target feature on SPM. The reasoning is two-fold:
- Using brew/apt-get means you can't depend on the package and still build for iOS or watchOS.
- Making sure we're building to the same version on all platforms.
Add the package dependency as usual.
dependencies: [
.package(url: "https://github.com/OuterCorner/CSodium.git", from: "1.0.0"),
]
This project is licensed under the MIT License - see LICENSE.
Note the underlying libsodium library LICENSE still applies when using this project.