-
Notifications
You must be signed in to change notification settings - Fork 215
Add Swift Package Manager support #516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I'm not sure if this belongs here, shouldn't this be tracked in some swift package repository? |
If this repo add SPM support, others can directly add a reference to this repository. // swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
...
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/libtom/libtommath.git", .branch("master")),
],
...
)
SPM is a decentralized dependency package manager. If repo not support SPM, thats how they use it https://github.com/cntrump/SwiftTomCrypt |
|
We would like to have this feature as well. I was able to successfully test this change in a Swift library that I am working |
|
OK, could you maybe add a short example to the Do you also plan to add the same to ltc? |
Yes, I will commit a SwiftPM support PR for libtomcrypt after this PR merged.
OK, I will try. |
Done. |
|
Wow, that's more than I expected :) Huge 👍 |
|
Do you have plans to tag this as a release soon? I see that the last tagged release was on Oct 2019. |
No description provided.