Crate uv_resolver

Crate uv_resolver 

Source

Modules§

cyclonedx_json
pubgrub

Structs§

AllowedYanks
A set of package versions that are permitted, even if they’re marked as yanked by the relevant index.
ConflictMarker
A marker that is only for representing conflicting extras/groups.
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.
DerivationChainBuilder
Build a DerivationChain from the pubgrub state, which is available in uv-resolver, but not in uv-distribution-types.
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
ExcludeNewerPackageEntry
A package-specific exclude-newer entry.
ExcludeNewerValue
A timestamp that excludes files newer than it.
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
A set of PrioritizedDist from a --find-links entry, indexed by PackageName and Version.
InMemoryIndex
In-memory index of package metadata.
Lock
LockError
LockVersion
Like Lock, but limited to the version field. Used for error reporting: by limiting parsing to the version field, we can verify compatibility for lockfiles that may otherwise be unparsable.
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.
Package
PackageMap
A map from package to values, indexed by [PackageId].
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.
PylockToml
PythonRequirement
RequirementsTxtExport
An export of a [Lock] that renders in requirements.txt format.
Resolver
ResolverEnvironment
Represents one or more marker environments for a resolution.
ResolverManifest
ResolverOutput
The output of a successful resolution.
SentinelRange
A version range that may include local version sentinels (+[max]).
TreeDisplay
UniversalMarker
A representation of a marker for use in universal resolution.
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
ExcludeNewerPackageChange
ExcludeNewerValueChange
Flexibility
Whether the Options are configurable or fixed.
ForkStrategy
MetadataResponse
PreferenceError
PrereleaseMode
PylockTomlErrorKind
ResolutionMode
ResolveError
SatisfiesResult
The result of checking if a lockfile satisfies a set of requirements.
VersionsResponse
The response when requesting versions for a package

Constants§

VERSION
The current version of the lockfile format.

Traits§

Installable
ResolverProvider
ResolverReporter

Type Aliases§

BuildId
ErrorTree
PackageVersionsResult
WheelMetadataResult