uv/crates/puffin-resolver
Charlie Marsh 42888a9609
Share flat index across resolutions (#930)
## Summary

This PR restructures the flat index fetching in a few ways:

1. It now lives in its own `FlatIndexClient`, since it felt a bit
awkward (in my opinion) for it to live in `RegistryClient`.
2. We now fetch the `FlatIndex` outside of the resolver. This has a few
benefits: (1) the resolver construct is no longer `async` and no longer
returns `Result`, which feels better for a resolver; and (2) we can
share the `FlatIndex` across resolutions rather than re-fetching it for
every source distribution build.
2024-01-15 11:02:02 -05:00
..
src Share flat index across resolutions (#930) 2024-01-15 11:02:02 -05:00
tests Share flat index across resolutions (#930) 2024-01-15 11:02:02 -05:00
Cargo.toml Remove PubGrubVersion (#924) 2024-01-15 08:51:12 -05:00