-
Notifications
You must be signed in to change notification settings - Fork 8
/
Package.swift
60 lines (58 loc) · 2.43 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "SuiKit",
platforms: [.iOS(.v17), .macOS(.v11), .watchOS(.v10), .tvOS(.v17)],
products: [
.library(
name: "SuiKit",
targets: ["SuiKit"]),
],
dependencies: [
.package(url: "https://github.com/MarcoDotIO/UInt256.git", branch: "master"),
.package(url: "https://github.com/pebble8888/ed25519swift.git", from: "1.2.7"),
.package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", from: "4.0.0"),
.package(url: "https://github.com/tesseract-one/Blake2.swift.git", from: "0.2.0"),
.package(url: "https://github.com/Flight-School/AnyCodable", from: "0.6.0"),
.package(url: "https://github.com/tesseract-one/Bip39.swift.git", from: "0.1.1"),
.package(url: "https://github.com/auth0/JWTDecode.swift", from: "3.1.0"),
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.3.0")
],
targets: [
.target(
name: "secp256k1"
),
.target(
name: "SuiKit",
dependencies: [
.product(name: "BigInt", package: "BigInt"),
.product(name: "UInt256", package: "UInt256"),
.product(name: "ed25519swift", package: "ed25519swift"),
.product(name: "SwiftyJSON", package: "swiftyjson"),
.product(name: "Blake2", package: "Blake2.swift"),
.product(name: "AnyCodable", package: "AnyCodable"),
.product(name: "Bip39", package: "Bip39.swift"),
.product(name: "JWTDecode", package: "JWTDecode.swift"),
"secp256k1"
]
),
.testTarget(
name: "SuiKitTests",
dependencies: ["SuiKit"],
path: "Tests",
resources: [
.copy("Resources/coin-metadata.json"),
.copy("Resources/display-test.json"),
.copy("Resources/dynamic-fields.json"),
.copy("Resources/entry-point-types.json"),
.copy("Resources/entry-point-vector.json"),
.copy("Resources/hero.json"),
.copy("Resources/id-entry-args.json"),
.copy("Resources/kiosk.json"),
.copy("Resources/serializer.json"),
.copy("Resources/serializer-upgrade.json")
]
),
],
swiftLanguageVersions: [.version("6")]
)