From 4cca84515a1c18a221cb2ee31a036bde60a3db2f Mon Sep 17 00:00:00 2001 From: Jonathan Tan Date: Tue, 11 Jun 2024 13:24:36 -0700 Subject: [PATCH] In lib, make "testing" feature depend on "git" If not, `cargo build --no-default-features --features testing` will fail. --- lib/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 7d5436dbc..e6a47dede 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -95,4 +95,4 @@ default = ["git"] git = ["dep:git2", "dep:gix"] vendored-openssl = ["git2/vendored-openssl"] watchman = ["dep:tokio", "dep:watchman_client"] -testing = [] +testing = ["git"]