Add some missing git feature cfgs for imports (#17273)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Zanie Blue
2025-12-30 09:56:31 -06:00
committed by GitHub
parent b5660cec26
commit 04f463f036
2 changed files with 2 additions and 0 deletions

View File

@@ -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;

View File

@@ -1,3 +1,4 @@
#[cfg(any(feature = "git", feature = "git-lfs"))]
use std::collections::BTreeSet;
use std::process::Command;