uv/crates/uv-resolver/src
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
..
pubgrub Clippy pedantic (#1963) 2024-02-25 14:04:05 -05:00
resolver Remove spawn_blocking from version map (#1966) 2024-02-26 09:44:24 +00:00
candidate_selector.rs Clippy pedantic (#1963) 2024-02-25 14:04:05 -05:00
constraints.rs Move conflicting dependencies into PubGrub (#1796) 2024-02-21 21:27:58 -05:00
dependency_mode.rs Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
editables.rs Move conflicting dependencies into PubGrub (#1796) 2024-02-21 21:27:58 -05:00
error.rs Clippy pedantic (#1963) 2024-02-25 14:04:05 -05:00
finder.rs Track wheel compatibility as a single field (#2054) 2024-02-28 16:59:22 -05:00
lib.rs fix: expose types to implement custom ResolverProvider (#1862) 2024-02-22 08:59:03 -06:00
manifest.rs Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
options.rs Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
overrides.rs Move conflicting dependencies into PubGrub (#1796) 2024-02-21 21:27:58 -05:00
pins.rs Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
prerelease_mode.rs Make < exclusive for non-prerelease markers (#1878) 2024-02-24 18:02:03 -05:00
python_requirement.rs Clippy pedantic (#1963) 2024-02-25 14:04:05 -05:00
resolution.rs Add support for pip-compile's --unsafe-package flag (#1889) 2024-02-23 18:47:36 +00:00
resolution_mode.rs Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
version_map.rs Clippy pedantic (#1963) 2024-02-25 14:04:05 -05:00
yanks.rs Clippy pedantic (#1963) 2024-02-25 14:04:05 -05:00