pulith-fetch
Transfer execution primitives for Pulith.
Role
pulith-fetch turns fetch plans into bytes and receipts.
It should own:
- transfer execution
- local-vs-remote fetch execution
- multi-source execution strategies
- fetch receipts
It should not own:
- source planning semantics
- storage policy
- install policy
Main APIs
FetcherMultiSourceFetcherFetchReceiptFetchSourceFetchOptionsReqwestClient
Basic Usage
use ;
let fetcher = new?;
let _multi = new;
# Ok::
How To Use It
Pair pulith-fetch with:
pulith-sourcefor planned candidatespulith-storefor durable registrationpulith-installfor workflow handoff
Fetch should stay explicit: the caller chooses strategy, destination, and later workflow steps.
See docs/design/fetch.md.