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;