mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-13 17:25:41 +00:00
## Summary This PR modifies the requirement source entities to store a (new) container struct that wraps `IndexUrl`. This will allow us to store user-defined metadata alongside `IndexUrl`, and propagate that metadata throughout resolution. Specifically, I need to store the "kind" of the index (Simple API vs. `--find-links`), but I also ran into this problem when I tried to add support for overriding `Cache-Control` headers on a per-index basis: at present, we have no way to passing around metadata alongside an `IndexUrl`. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||