| Crates.io | ordr |
| lib.rs | ordr |
| version | 0.2.0 |
| created_at | 2025-06-29 06:28:45.916652+00 |
| updated_at | 2025-07-27 18:22:15.313553+00 |
| description | Executes and keeps track of a set of interdependent functions |
| homepage | |
| repository | https://github.com/casperin/ordr |
| max_upload_size | |
| id | 1730434 |
| size | 50,751 |
Ordr is a library that can run a set of async functions that depend on each other. For instance if
the result of function a and b before you can run c, order will run a and b in parallel
before passing their result to c.
You can also stop a job midway (or it may stop if a function failed), store whatever results are already computed, and continue again at another point.
The examples may also be useful. If you are missing documentation, let me know.
You are of course welcome to contribute. I don't expect to spend much time on this going forward, but I'm generally open for suggestions or pull requests.
Tests can be run with
cargo test --workspace --all-targets
I personally use the examples to play around or to test a specific feature.
MIT. But let me know if you do something cool with it. :)