Skip to content

Cross platform Swift package for the Sodium library (libsodium)

License

Notifications You must be signed in to change notification settings

OuterCorner/CSodium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Cross platform Swift package for the Sodium library (libsodium)

Resources

License

Stars

Watchers

Forks

Packages

No packages published