-
Notifications
You must be signed in to change notification settings - Fork 5
/
Package.swift
37 lines (34 loc) · 1.18 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "BLAKE3",
products: [
.library(
name: "BLAKE3",
targets: ["BLAKE3"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-algorithms", from: "1.0.0"),
.package(url: "https://github.com/nixberg/crypto-traits-swift", "0.2.1"..<"0.3.0"),
.package(url: "https://github.com/nixberg/endianbytes-swift", "0.5.0"..<"0.6.0"),
.package(url: "https://github.com/nixberg/hexstring-swift", "0.5.0"..<"0.6.0"),
],
targets: [
.target(
name: "BLAKE3",
dependencies: [
.product(name: "Algorithms", package: "swift-algorithms"),
.product(name: "Duplex", package: "crypto-traits-swift"),
.product(name: "SIMDEndianBytes", package: "endianbytes-swift"),
]),
.testTarget(
name: "BLAKE3Tests",
dependencies: [
"BLAKE3",
.product(name: "HexString", package: "hexstring-swift"),
],
resources: [
.copy("test_vectors.json")
]),
]
)