Skip to main content

Crate uv_resolver

Crate uv_resolver 

Source

Re-exports§

pub use pubgrub::PubGrubHint;

Modules§

pubgrub

Structs§

AllowedYanks
A set of package versions that are permitted, even if they’re marked as yanked by the relevant index.
ConflictingDistributionError
An error that occurs for conflicting versions of the same package.
DefaultResolverProvider
The main IO backend for the resolver, which does cached requests network requests using the [RegistryClient] and DistributionDatabase.
DisplayResolutionGraph
A std::fmt::Display implementation for the resolution graph.
ExcludeNewer
A setting that excludes files newer than a timestamp, at a global level or per-package.
ExcludeNewerPackage
Package-specific exclude-newer settings.
ExcludeNewerPackageEntry
A package-specific exclude-newer entry.
ExcludeNewerSpan
ExcludeNewerValueWithSpanRef
Exclusions
Tracks locally installed packages that should not be selected during resolution.
FlatDistributions
A set of PrioritizedDist from a --find-links entry for a single package, indexed by Version.
FlatIndex
Unfiltered entries from --find-links, indexed by PackageName.
InMemoryIndex
In-memory index of package metadata.
Manifest
A manifest of requirements, constraints, and preferences.
NoSolutionError
A wrapper around [pubgrub::error::NoSolutionError] that displays a resolution failure report.
NoSolutionHeader
Options
Options for resolving a manifest.
OptionsBuilder
Builder for Options.
Preference
A pinned requirement, as extracted from a requirements.txt file.
Preferences
A set of pinned packages that should be preserved during resolution, if possible.
Prerelease
A pre-release selection policy that applies globally and to individual packages.
PrereleasePackage
Pre-release selection policies that apply to individual packages.
PrereleasePackageEntry
A package-specific pre-release selection policy.
PrioritizedDist
A collection of distributions that have been filtered by relevance.
PythonRequirement
Resolver
ResolverEnvironment
Represents one or more marker environments for a resolution.
ResolverOutput
The output of a successful resolution.
UniversalMarker
A representation of a marker for use in universal resolution.
UpgradePackages
The resolved set of packages that should be upgraded.
VersionMap
A map from versions to distributions.

Enums§

AnnotationStyle
Indicate the style of annotation comments, used to indicate the dependencies that requested each package.
DependencyMode
ExcludeNewerChange
ExcludeNewerOverride
Whether exclude-newer is disabled or enabled with an explicit cutoff.
ExcludeNewerOverrideChange
ExcludeNewerPackageChange
ExcludeNewerValue
ExcludeNewerValueChange
Flexibility
Whether the Options are configurable or fixed.
ForkStrategy
HashComparison
MetadataResponse
PreferenceError
PrereleaseMode
ResolutionMode
ResolveError
SourceDistCompatibility
VariantsJsonResponse
The outcome of an index-level variant metadata lookup.
VersionsResponse
The response when requesting versions for a package

Traits§

ResolverProvider
ResolverReporter

Functions§

serialize_exclude_newer_package_with_spans

Type Aliases§

ErrorTree
PackageVersionsResult
WheelMetadataResult