Swiftpack.co - Package - OuterCorner/CSodium

CSodium

Platforms

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:

  1. Using brew/apt-get means you can't depend on the package and still build for iOS or watchOS.
  2. Making sure we're building to the same version on all platforms.

Usage

Add the package dependency as usual.

dependencies: [
  .package(url: "https://github.com/OuterCorner/CSodium.git", from: "1.0.0"),
]

License

This project is licensed under the MIT License - see LICENSE.

Note the underlying libsodium library LICENSE still applies when using this project.

Github

link
Stars: 0

Dependencies

Used By

Total: 0

Releases

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