* Only depend on OrderedCollections from swift-collections
Before this change, once consumers update to SwiftCollections 1.1.0 they'll pull in all of the new collection dependencies (HashTree, BitCollections, etc.). In our case, this increased our binary size by ~1MB. To fix this, we switch to only depending on what we need.
* Add DequeModule dependency
# Motivation
We had some scripts around to generate docs for this package but all of our other packages are now providing documentation on the Swift package index.
# Modification
This removes the old script to generate documentation and adds an `.spi.yml` file. Furthermore, I removed the conditional dependency on the docc plugin which we are unconditionally depending on in most of our other packages like NIO.
# Motivation
The current validation testing library has a bunch of warnings and we haven't put it through a proper API review yet. Since we are preparing for a 1.0.0, I think it is best if we remove the products for the validation targets for now and take some time to make sure the interfaces are taken through an API review.
# Modification
Remove products for the validation targets.
# Motivation
We still had some `Sendable` warnings left under strict Concurrency checking.
# Modification
This PR fixes a bunch of `Sendable` warnings but we still have some left in the validation tests. Additionally, I fixed a flaky test.
* asyncChannel: introduce ChannelToken to model Pending and Awaiting
* asyncChannel: harmonize send and next cancellation
* asyncChannel: add .finished as an emission state
* asyncThrowingChannel: harmonize send and next cancellation
* channel: update documentation for cancellation
* Remove the disable of availability and mark methods as available to clock/instant/duration
* Rework availability to be more permissive for tests
* Use hand coded values instead of defines (only available via Darwin versions of Dispatch)
* Adjust additional test availability
* Correct debounce test availability guard
* Update build instructions to indicate Xcode requirements
* Ensure the clock property of the validation diagram is only available for targets that can support it
* Implement source location information for pairwise block builders
* Enable better source locations for latest validation diagrams
* Use the new naming for partial builders
* Ensure pairwise builder expressions preserve source locations
* Add a detailed proposal like guide for MarbleDiagram
* Slight spacing change
Co-authored-by: kperryua <kperry@apple.com>
* Fix some pluralization agreement
Co-authored-by: kperryua <kperry@apple.com>
* Clarify the testing of merge and add a future direction for unordered groups
* rename the diagram system to a more general 'validate' based name
* Spelling fixes
* Grammar fixes for credits
Co-authored-by: kperryua <kperry@apple.com>
* 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
* Rework marble diagrams to account for task execution
* Add marble diagram tests to validate failure paths
* Test for space no-op in marable diagram DSL
* Factor out parsing into events and generalize
* Add an algorithm to obtain the first result of a list of tasks
* A much simpler and less risky implementation of Task.first that supports cancellation propigation
* Slight whitespace fix for Package.swift
* Demote Task.first to internal - revisit for better naming later as public
* 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