Files
swift-async-algorithms/Package.swift
T
Philippe Hausler d96606e7f7 Clean up the marble diagram implementation and factor it into a per Task based queue system (#44)
* Split the marble diagram code out into their own files for easier refactoring

* Update latest landing InstantProtocol definition stub

* Migrate to a per Task based queue system to avoid blocking valid future jobs

* Factor inputs to be specialized waits for side tracking

* Add grouping support

* Add tests for grouping and parse failures

* Fixup misstep in package definition for clock stub imports for the marable diagrams

* Add descriptions for partial iterations for debugging aides

* Simplify Task.select implementation to handle continuations more encapsulatedly

* Add descriptions for WorkQueue items for debugging and use stable work queue drains
2022-02-18 00:05:36 -08:00

38 lines
1.0 KiB
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"]),
.library(name: "ClockStub", type: .static, targets: ["ClockStub"]),
.library(name: "MarbleDiagram", targets: ["MarbleDiagram"]),
.library(name: "CMarbleDiagram", type: .static, targets: ["CMarbleDiagram"])
],
dependencies: [],
targets: [
.target(
name: "AsyncAlgorithms",
dependencies: ["ClockStub"]),
.target(name: "ClockStub"),
.target(name: "MarbleDiagram", dependencies: ["CMarbleDiagram", "ClockStub"]),
.target(name: "CMarbleDiagram",
publicHeadersPath: "Headers",
cxxSettings: [
.unsafeFlags(["-std=c++11"])
]),
.testTarget(
name: "AsyncAlgorithmsTests",
dependencies: ["AsyncAlgorithms", "MarbleDiagram"]),
]
)