yield-progress 0.1.2

Combined progress reporting and cooperative task yielding.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Sketchy ideas not filed as issues

* Support nested labels; stack/tree can be stored as `struct Label { next: LabelEnum, text: str }` :)

* add `Progress` which is just a yield-less version for non-async code

* provide a `!Sync` version (users import type alias suiting their needs) and _possibly_ a no-`alloc` version though that might require API changes to do borrowing
    
* make the progress label type generic so that more details can be reported (e.g. failures of some items, entity references)

* Figure out how to organize labels to distinguish (_if needed_) the role of “which item being processed” from “state discovered about that item”. Is there even a difference, in general?

# Other libraries

* <https://docs.rs/howudoin> is comparable; comparing,  it doesn't have yielding and it's very complex in API, but it does add hierarchical reporting and cancellation
* have not yet looked at <https://docs.rs/prodash/>