Swiftpack.co - OuterCorner/CSodium as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by OuterCorner.
OuterCorner/CSodium 1.0.2
Cross platform Swift package for the Sodium library (libsodium)
⭐️ 2
🕓 2 years ago
iOS macOS watchOS
.package(url: "https://github.com/OuterCorner/CSodium.git", from: "1.0.2")

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: 2
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Enabled bitcode
2 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics