radicle-heartwood-lfs/crates/radicle
Fintan Halpenny 1cab036c33 protocol/service: Wire up `FetcherService`
Wire up the new `FetcherService`. This reduces the `Service` fetch
methods down to:
- `fetch`
- `fetched`
- `dequeue_fetches`
- `fetch_refs_at`

This simplifies the code by off-loading the logic to the `fetcher`
family of types, rather than handling the intricacies in the `Service`
itself.

The `Service` now just performs the necessary I/O based on the
returned events from the `fetcher`.

This also removes the fetching state from the node sessions. This
follows the single responsibility, and sessions now only care about
their connectivity.

Breaking changes:
- The `Connected` state of a peer no longer contains fetching
  information, which was being returned as part of the JSON payload
  result.
- The `rad debug` information for ongoing fetches contained the number
  listeners awaiting for results, this was removed.
2026-02-05 20:04:28 +01:00
..
src protocol/service: Wire up `FetcherService` 2026-02-05 20:04:28 +01:00
CHANGELOG.md protocol/service: Wire up `FetcherService` 2026-02-05 20:04:28 +01:00
Cargo.toml radicle: Re-export `radicle_core::RepoId` 2026-01-09 14:04:18 +01:00