File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 1
- // swift-tools-version: 5.5 .0
1
+ // swift-tools-version: 5.7 .0
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
4
4
import PackageDescription
@@ -13,17 +13,25 @@ let package = Package(
13
13
] ,
14
14
dependencies: [
15
15
. package ( url: " https://github.com/attaswift/BigInt.git " , from: " 5.3.0 " ) ,
16
- . package ( url: " https://github.com/krzyzanowskim/CryptoSwift.git " , from: " 1.5.1 " )
16
+ . package ( url: " https://github.com/krzyzanowskim/CryptoSwift.git " , from: " 1.5.1 " ) ,
17
+ . package ( url: " https://github.com/GigaBitcoin/secp256k1.swift " , . upToNextMinor( from: " 0.10.0 " ) ) ,
17
18
] ,
18
19
targets: [
19
- . target( name: " secp256k1 " ) ,
20
20
. target(
21
21
name: " Web3Core " ,
22
- dependencies: [ " BigInt " , " secp256k1 " , " CryptoSwift " ]
22
+ dependencies: [
23
+ . product( name: " secp256k1 " , package : " secp256k1.swift " ) ,
24
+ " BigInt " ,
25
+ " CryptoSwift "
26
+ ]
23
27
) ,
24
28
. target(
25
29
name: " web3swift " ,
26
- dependencies: [ " Web3Core " , " BigInt " , " secp256k1 " ] ,
30
+ dependencies: [
31
+ . product( name: " secp256k1 " , package : " secp256k1.swift " ) ,
32
+ " Web3Core " ,
33
+ " BigInt " ,
34
+ ] ,
27
35
resources: [
28
36
. copy( " ./Browser/browser.js " ) ,
29
37
. copy( " ./Browser/browser.min.js " ) ,
You can’t perform that action at this time.
0 commit comments