mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-28 18:54:10 +00:00
Move preview features into a dedicated crate (#15482)
## Summary This is causing some cyclic dependencies issues for me, because these can be used in virtually _any_ crate (like `uv-install-wheel`), which then means that all of `uv-configuration` becomes a dependency, etc. I think this should be a leaf crate so that we can safely depend on it anywhere.
This commit is contained in:
parent
f1647838ae
commit
ac84f5aedc
68 changed files with 145 additions and 76 deletions
|
|
@ -23,6 +23,7 @@ uv-distribution-types = { workspace = true }
|
|||
uv-install-wheel = { workspace = true, features = ["clap"], default-features = false }
|
||||
uv-normalize = { workspace = true }
|
||||
uv-pep508 = { workspace = true }
|
||||
uv-preview = { workspace = true }
|
||||
uv-pypi-types = { workspace = true }
|
||||
uv-python = { workspace = true, features = ["clap", "schemars"]}
|
||||
uv-redacted = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ use clap::{Args, Parser, Subcommand};
|
|||
|
||||
use uv_cache::CacheArgs;
|
||||
use uv_configuration::{
|
||||
ExportFormat, IndexStrategy, KeyringProviderType, PackageNameSpecifier, PreviewFeatures,
|
||||
ProjectBuildBackend, TargetTriple, TrustedHost, TrustedPublishing, VersionControlSystem,
|
||||
ExportFormat, IndexStrategy, KeyringProviderType, PackageNameSpecifier, ProjectBuildBackend,
|
||||
TargetTriple, TrustedHost, TrustedPublishing, VersionControlSystem,
|
||||
};
|
||||
use uv_distribution_types::{
|
||||
ConfigSettingEntry, ConfigSettingPackageEntry, Index, IndexUrl, Origin, PipExtraIndex,
|
||||
|
|
@ -19,6 +19,7 @@ use uv_distribution_types::{
|
|||
};
|
||||
use uv_normalize::{ExtraName, GroupName, PackageName, PipGroupName};
|
||||
use uv_pep508::{MarkerTree, Requirement};
|
||||
use uv_preview::PreviewFeatures;
|
||||
use uv_pypi_types::VerbatimParsedUrl;
|
||||
use uv_python::{PythonDownloads, PythonPreference, PythonVersion};
|
||||
use uv_redacted::DisplaySafeUrl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue