From 82de40c2da6240047d9294645b9b49eef402f932 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 26 Mar 2025 22:30:00 -0400 Subject: [PATCH] Enable necessary optional features in `uv-settings` (#12504) ## Summary We tend not to run tests for individual crates, which can lead to weird situations like this, where crates are missing optional features that are otherwise installed globally. ## Test Plan Run `cargo test --profile fast-build -p uv-scripts`, which otherwise fails to compile. --- crates/uv-settings/Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/uv-settings/Cargo.toml b/crates/uv-settings/Cargo.toml index 907788fae..fd4c3c739 100644 --- a/crates/uv-settings/Cargo.toml +++ b/crates/uv-settings/Cargo.toml @@ -17,20 +17,20 @@ workspace = true [dependencies] uv-cache-info = { workspace = true, features = ["schemars"] } -uv-configuration = { workspace = true, features = ["schemars"] } +uv-configuration = { workspace = true, features = ["schemars", "clap"] } uv-dirs = { workspace = true } uv-distribution-types = { workspace = true, features = ["schemars"] } uv-fs = { workspace = true } -uv-install-wheel = { workspace = true, features = ["schemars"] } +uv-install-wheel = { workspace = true, features = ["schemars", "clap"] } uv-macros = { workspace = true } uv-normalize = { workspace = true, features = ["schemars"] } uv-options-metadata = { workspace = true } uv-pep508 = { workspace = true } uv-pypi-types = { workspace = true } -uv-python = { workspace = true, features = ["schemars"] } -uv-resolver = { workspace = true, features = ["schemars"] } +uv-python = { workspace = true, features = ["schemars", "clap"] } +uv-resolver = { workspace = true, features = ["schemars", "clap"] } uv-static = { workspace = true } -uv-torch = { workspace = true, features = ["schemars"] } +uv-torch = { workspace = true, features = ["schemars", "clap"] } uv-warnings = { workspace = true } clap = { workspace = true }