uv/crates/uv-resolver
Charlie Marsh 9c63412526
Track wheel compatibility as a single field (#2054)
## Summary

Internal refactor to `PrioritizedDistribution` that I think should
reduce the size? Although the motivation here is simplicity, not perf.

Instead of storing:

```rust
/// The highest-priority, installable wheel for the package version.
compatible_wheel: Option<(DistMetadata, TagPriority)>,
/// The most-relevant, incompatible wheel for the package version.
incompatible_wheel: Option<(DistMetadata, IncompatibleWheel)>,
```

We now store:

```rust
wheel: Option<(DistMetadata, WheelCompatibility)>,
```

Where `WheelCompatibility` is an enum of `TagPriority` or
`IncompatibleWheel`.
2024-02-28 16:59:22 -05:00
..
src Track wheel compatibility as a single field (#2054) 2024-02-28 16:59:22 -05:00
tests Rename Virtualenv and PythonPlatform structs (#2034) 2024-02-28 15:04:55 +00:00
Cargo.toml Bump insta from 1.34.0 to 1.35.1 (#1942) 2024-02-23 21:00:35 +00:00