Skip to content

Commit 2ca06cf

Browse files
committed
Revert
1 parent af0d1b8 commit 2ca06cf

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

crates/uv-settings/src/settings.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ pub struct Options {
8686
cache_keys: Option<Vec<CacheKey>>,
8787

8888
// NOTE(charlie): These fields are shared with `ToolUv` in
89-
// `crates/uv-workspace/src/pyproject.rs`. The documentation lives on that struct.
90-
// They're respected in both `pyproject.toml` and `uv.toml` files.
89+
// `crates/uv-workspace/src/pyproject.rs`, and the documentation lives on that struct.
9190
#[cfg_attr(feature = "schemars", schemars(skip))]
9291
pub override_dependencies: Option<Vec<Requirement<VerbatimParsedUrl>>>,
9392

@@ -1552,15 +1551,13 @@ pub struct OptionsWire {
15521551
cache_keys: Option<Vec<CacheKey>>,
15531552

15541553
// NOTE(charlie): These fields are shared with `ToolUv` in
1555-
// `crates/uv-workspace/src/pyproject.rs`. The documentation lives on that struct.
1556-
// They're respected in both `pyproject.toml` and `uv.toml` files.
1554+
// `crates/uv-workspace/src/pyproject.rs`, and the documentation lives on that struct.
15571555
override_dependencies: Option<Vec<Requirement<VerbatimParsedUrl>>>,
15581556
constraint_dependencies: Option<Vec<Requirement<VerbatimParsedUrl>>>,
15591557
environments: Option<SupportedEnvironments>,
15601558

15611559
// NOTE(charlie): These fields should be kept in-sync with `ToolUv` in
1562-
// `crates/uv-workspace/src/pyproject.rs`. The documentation lives on that struct.
1563-
// They're only respected in `pyproject.toml` files, and should be rejected in `uv.toml` files.
1560+
// `crates/uv-workspace/src/pyproject.rs`.
15641561
#[allow(dead_code)]
15651562
workspace: Option<serde::de::IgnoredAny>,
15661563
#[allow(dead_code)]

0 commit comments

Comments
 (0)