mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-26 04:37:48 +00:00
* Add a package layout and initial implementation and tests for AsyncLazySequence; a type for converting non asynchronous sequences into asynchronous ones * Add a first iteration pass expectation to ensure that tasks spawn for testing cancellation of AsyncLazySequence * Simplify the iterator for AsyncLazySequence
27 lines
507 B
Swift
27 lines
507 B
Swift
// swift-tools-version: 5.6
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "AsyncAlgorithms",
|
|
platforms: [
|
|
.macOS("10.15"),
|
|
.iOS("13.0"),
|
|
.tvOS("13.0"),
|
|
.watchOS("6.0")
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "AsyncAlgorithms",
|
|
targets: ["AsyncAlgorithms"]),
|
|
],
|
|
dependencies: [],
|
|
targets: [
|
|
.target(
|
|
name: "AsyncAlgorithms",
|
|
dependencies: []),
|
|
.testTarget(
|
|
name: "AsyncAlgorithmsTests",
|
|
dependencies: ["AsyncAlgorithms"]),
|
|
]
|
|
) |