1
- // swift-tools-version:5.6
1
+ // swift-tools-version:5.9
2
2
3
3
// SPDX-License-Identifier: Apache-2.0
4
4
@@ -66,7 +66,7 @@ let exampleTargets = [
66
66
let package = Package (
67
67
name: " Hiero " ,
68
68
platforms: [
69
- . macOS( . v11 ) ,
69
+ . macOS( . v14 ) ,
70
70
. iOS( . v13) ,
71
71
] ,
72
72
products: [
@@ -75,7 +75,7 @@ let package = Package(
75
75
dependencies: [
76
76
. package ( url: " https://github.com/objecthub/swift-numberkit.git " , from: " 2.6.0 " ) ,
77
77
. package ( url: " https://github.com/thebarndog/swift-dotenv.git " , from: " 2.1.0 " ) ,
78
- . package ( url: " https://github.com/grpc/grpc-swift.git " , from: " 1.24.2 " ) ,
78
+ . package ( url: " https://github.com/grpc/grpc-swift.git " , from: " 2.0.0 " ) ,
79
79
. package ( url: " https://github.com/apple/swift-protobuf.git " , from: " 1.28.2 " ) ,
80
80
. package ( url: " https://github.com/vsanthanam/AnyAsyncSequence.git " , from: " 1.0.2 " ) ,
81
81
. package ( url: " https://github.com/apple/swift-atomics.git " , from: " 1.2.0 " ) ,
@@ -85,22 +85,20 @@ let package = Package(
85
85
. package ( url: " https://github.com/pointfreeco/swift-snapshot-testing.git " , from: " 1.18.0 " ) ,
86
86
. package ( url: " https://github.com/vapor/vapor.git " , from: " 4.112.0 " ) ,
87
87
. package ( url: " https://github.com/attaswift/BigInt.git " , from: " 5.5.1 " ) ,
88
- // Currently, only used for keccak256
89
88
. package ( url: " https://github.com/krzyzanowskim/OpenSSL-Package.git " , from: " 3.3.2000 " ) ,
90
89
] ,
91
90
targets: [
92
91
. target(
93
92
name: " HieroProtobufs " ,
94
93
dependencies: [
95
94
. product( name: " SwiftProtobuf " , package : " swift-protobuf " ) ,
96
- . product( name: " GRPC " , package : " grpc-swift " ) ,
95
+ . product( name: " GRPCCore " , package : " grpc-swift " ) ,
97
96
] ,
98
97
exclude: [
99
98
" Protos " ,
100
99
" update_protos.py " ,
101
100
]
102
101
) ,
103
- // weird name, but whatever, internal targets
104
102
. target(
105
103
name: " HieroExampleUtilities " ,
106
104
dependencies: [ " Hiero " ] ,
@@ -114,16 +112,12 @@ let package = Package(
114
112
. product( name: " SwiftASN1 " , package : " swift-asn1 " ) ,
115
113
. product( name: " SwiftProtobuf " , package : " swift-protobuf " ) ,
116
114
. product( name: " NumberKit " , package : " swift-numberkit " ) ,
117
- . product( name: " GRPC " , package : " grpc-swift " ) ,
115
+ . product( name: " GRPCCore " , package : " grpc-swift " ) ,
118
116
. product( name: " Atomics " , package : " swift-atomics " ) ,
119
117
. product( name: " secp256k1 " , package : " secp256k1.swift " ) ,
120
118
. product( name: " BigInt " , package : " BigInt " ) ,
121
119
. product( name: " OpenSSL " , package : " OpenSSL-Package " ) ,
122
120
]
123
- // todo: find some way to enable these locally.
124
- // swiftSettings: [
125
- // .unsafeFlags(["-Xfrontend", "-warn-concurrency", "-Xfrontend", "-enable-actor-data-race-checks"])
126
- // ]
127
121
) ,
128
122
. executableTarget(
129
123
name: " HieroTCK " ,
0 commit comments