mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Use Preferences
struct in Manifest API (#4496)
## Summary This is just a bit more consistent with `Overrides` and `Constraints`.
This commit is contained in:
parent
10ec9c9d0b
commit
604be9ed71
6 changed files with 20 additions and 13 deletions
|
@ -213,7 +213,7 @@ impl<Provider: ResolverProvider, InstalledPackages: InstalledPackagesProvider>
|
|||
constraints: manifest.constraints,
|
||||
overrides: manifest.overrides,
|
||||
dev: manifest.dev,
|
||||
preferences: Preferences::from_iter(manifest.preferences, markers),
|
||||
preferences: manifest.preferences,
|
||||
exclusions: manifest.exclusions,
|
||||
hasher: hasher.clone(),
|
||||
markers: markers.cloned(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue