Web3Concurrency is a Swift library that adds support for structured concurrency to Web3.swift.
To include Web3Concurrency in your project, add the following dependency to your Package.swift
file:
// swift-tools-version:6.0
import PackageDescription
let package = Package(
name: "MyProject",
platforms: [
.iOS(.v17),
],
products: [
.library(
name: "MyProject",
targets: ["MyProject"]),
],
dependencies: [
.package(url: "https://github.com/snowball-tools/Web3Concurrency", from: "1.0.0"),
],
targets: [
.target(
name: "MyProject",
dependencies: [
.product(name: "Web3Concurrency", package: "Web3Concurrency"),
]
),
.testTarget(
name: "MyProjectTests",
dependencies: ["MyProject"]),
]
)
Web3Concurrency is available under the MIT license. See the LICENSE file for more info.