From 04f463f036709ef2382e0506a88fe2a372241bcf Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 30 Dec 2025 09:56:31 -0600 Subject: [PATCH] Add some missing git feature cfgs for imports (#17273) Co-authored-by: Claude --- crates/uv/tests/it/edit.rs | 1 + crates/uv/tests/it/tool_install.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/crates/uv/tests/it/edit.rs b/crates/uv/tests/it/edit.rs index 214ae50b0..0e1635c0f 100644 --- a/crates/uv/tests/it/edit.rs +++ b/crates/uv/tests/it/edit.rs @@ -17,6 +17,7 @@ use std::path::Path; use url::Url; use wiremock::{Mock, MockServer, ResponseTemplate, matchers::method, matchers::path}; +#[cfg(feature = "git-lfs")] use uv_cache_key::{RepositoryUrl, cache_digest}; use uv_fs::Simplified; use uv_static::EnvVars; diff --git a/crates/uv/tests/it/tool_install.rs b/crates/uv/tests/it/tool_install.rs index 18a1a7a0a..8e17c0810 100644 --- a/crates/uv/tests/it/tool_install.rs +++ b/crates/uv/tests/it/tool_install.rs @@ -1,3 +1,4 @@ +#[cfg(any(feature = "git", feature = "git-lfs"))] use std::collections::BTreeSet; use std::process::Command;