-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathPackage.swift
43 lines (41 loc) · 1.46 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
38
39
40
41
42
43
// swift-tools-version: 5.6
import PackageDescription
let package = Package(
name: "HsCryptoKit.Swift",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
],
products: [
.library(
name: "HsCryptoKit",
targets: ["HsCryptoKit"]),
],
dependencies: [
.package(url: "https://github.com/attaswift/BigInt.git", .upToNextMajor(from: "5.0.0")),
.package(url: "https://github.com/horizontalsystems/HsExtensions.Swift.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-crypto.git", "1.0.0" ..< "3.0.0"),
.package(url: "https://github.com/GigaBitcoin/secp256k1.swift.git", exact: .init(0, 10, 0))
],
targets: [
.target(
name: "HsCryptoKitC",
path: "Sources/HsCryptoKitC"
),
.target(
name: "HsCryptoKit",
dependencies: [
.target(name: "HsCryptoKitC"),
.product(name: "BigInt", package: "BigInt"),
.product(name: "HsExtensions", package: "HsExtensions.Swift"),
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "_CryptoExtras", package: "swift-crypto"),
.product(name: "secp256k1", package: "secp256k1.swift"),
],
path: "Sources/HsCryptoKit"
),
.testTarget(
name: "HsCryptoKitTests",
dependencies: ["HsCryptoKit"]),
]
)