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.
You may find interesting
Enabled FULL build of libsodium - 2020-10-13 13:05:02
Using SPM binary targets - 2020-10-13 10:05:05
Still on libsodium 1.0.18
- 2019-12-23 15:25:08
Using sodium 1.0.18