Skip to content

Commit

Permalink
Merge pull request P-H-C#313 from tremblay/feature/swift-package-manager
Browse files Browse the repository at this point in the history
Feature/swift package manager
  • Loading branch information
khovratovich authored Mar 11, 2021
2 parents 60b31a3 + 83e5498 commit 16d3df6
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
46 changes: 46 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// swift-tools-version:5.3

import PackageDescription

let package = Package(
name: "argon2",
products: [
.library(
name: "argon2",
targets: ["argon2"]),
],
targets: [
.target(
name: "argon2",
path: ".",
exclude: [
"kats",
"vs2015",
"latex",
"libargon2.pc.in",
"export.sh",
"appveyor.yml",
"Argon2.sln",
"argon2-specs.pdf",
"CHANGELOG.md",
"LICENSE",
"Makefile",
"man",
"README.md",
"src/bench.c",
"src/genkat.c",
"src/opt.c",
"src/run.c",
"src/test.c",
],
sources: [
"src/blake2/blake2b.c",
"src/argon2.c",
"src/core.c",
"src/encoding.c",
"src/ref.c",
"src/thread.c"
]
)
]
)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ their documentation):
* [Perl](https://github.com/Leont/crypt-argon2) by [@leont](https://github.com/Leont)
* [mruby](https://github.com/Asmod4n/mruby-argon2) by [@Asmod4n](https://github.com/Asmod4n)
* [Swift](https://github.com/ImKcat/CatCrypto) by [@ImKcat](https://github.com/ImKcat)
* [Swift](https://github.com/tmthecoder/Argon2Swift) by [@tmthecoder](https://github.com/tmthecoder)
## Test suite
Expand Down

0 comments on commit 16d3df6

Please sign in to comment.