mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Move workspace abstractions to uv-workspace
crate (#5236)
## Summary These are really different from the rest of the existing crate as evidenced by the bifurcation in the requirements.
This commit is contained in:
parent
1243c5e28c
commit
841edc3718
32 changed files with 142 additions and 73 deletions
|
@ -26,7 +26,6 @@ uv-cache = { workspace = true, features = ["clap"] }
|
|||
uv-client = { workspace = true }
|
||||
uv-configuration = { workspace = true }
|
||||
uv-dispatch = { workspace = true }
|
||||
uv-distribution = { workspace = true, features = ["schemars"] }
|
||||
uv-git = { workspace = true }
|
||||
uv-installer = { workspace = true }
|
||||
uv-macros = { workspace = true }
|
||||
|
@ -35,6 +34,7 @@ uv-python = { workspace = true }
|
|||
uv-resolver = { workspace = true }
|
||||
uv-settings = { workspace = true, features = ["schemars"] }
|
||||
uv-types = { workspace = true }
|
||||
uv-workspace = { workspace = true, features = ["schemars"] }
|
||||
|
||||
# Any dependencies that are exclusively used in `uv-dev` should be listed as non-workspace
|
||||
# dependencies, to ensure that we're forced to think twice before including them in other crates.
|
||||
|
|
|
@ -6,8 +6,8 @@ use pretty_assertions::StrComparison;
|
|||
use schemars::{schema_for, JsonSchema};
|
||||
use serde::Deserialize;
|
||||
|
||||
use uv_distribution::pyproject::ToolUv as WorkspaceOptions;
|
||||
use uv_settings::Options as SettingsOptions;
|
||||
use uv_workspace::pyproject::ToolUv as WorkspaceOptions;
|
||||
|
||||
use crate::generate_all::Mode;
|
||||
use crate::ROOT_DIR;
|
||||
|
|
|
@ -11,10 +11,10 @@ use pretty_assertions::StrComparison;
|
|||
use schemars::JsonSchema;
|
||||
use serde::Deserialize;
|
||||
|
||||
use uv_distribution::pyproject::ToolUv as WorkspaceOptions;
|
||||
use uv_macros::OptionsMetadata;
|
||||
use uv_options_metadata::{OptionField, OptionSet, OptionsMetadata, Visit};
|
||||
use uv_settings::Options as SettingsOptions;
|
||||
use uv_workspace::pyproject::ToolUv as WorkspaceOptions;
|
||||
|
||||
use crate::generate_all::Mode;
|
||||
use crate::ROOT_DIR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue