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
|
|
@ -17,7 +17,6 @@ workspace = true
|
|||
|
||||
[dependencies]
|
||||
uv-cache = { workspace = true }
|
||||
uv-configuration = { workspace = true }
|
||||
uv-dirs = { workspace = true }
|
||||
uv-distribution-types = { workspace = true }
|
||||
uv-fs = { workspace = true }
|
||||
|
|
@ -26,6 +25,7 @@ uv-installer = { workspace = true }
|
|||
uv-normalize = { workspace = true }
|
||||
uv-pep440 = { workspace = true }
|
||||
uv-pep508 = { workspace = true }
|
||||
uv-preview = { workspace = true }
|
||||
uv-pypi-types = { workspace = true }
|
||||
uv-python = { workspace = true }
|
||||
uv-settings = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -8,13 +8,13 @@ use thiserror::Error;
|
|||
use tracing::{debug, warn};
|
||||
|
||||
use uv_cache::Cache;
|
||||
use uv_configuration::Preview;
|
||||
use uv_dirs::user_executable_directory;
|
||||
use uv_fs::{LockedFile, Simplified};
|
||||
use uv_install_wheel::read_record_file;
|
||||
use uv_installer::SitePackages;
|
||||
use uv_normalize::{InvalidNameError, PackageName};
|
||||
use uv_pep440::Version;
|
||||
use uv_preview::Preview;
|
||||
use uv_python::{Interpreter, PythonEnvironment};
|
||||
use uv_state::{StateBucket, StateStore};
|
||||
use uv_static::EnvVars;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue