From a8b026ad59b97d81b781a12a2ecbb7ee8cdcc47a Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Thu, 25 Jul 2024 14:42:27 +0200 Subject: [PATCH] Add alias for all-features since we can't use it any longer --- .github/workflows/rust-ci.yml | 2 +- Cargo.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 5e9f746..774b38f 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -26,7 +26,7 @@ jobs: - run: cargo fetch - name: cargo clippy # Unfortunately we can't use --all-features since that would enable request and curl for gix which is not allowed - run: cargo clippy --all-targets --features git,sparse,local-builder -- -D warnings + run: cargo clippy --all-targets --features __internal_all -- -D warnings - name: sigh run: cargo clippy --all-targets --features gix-curl,sparse,local-builder -- -D warnings diff --git a/Cargo.toml b/Cargo.toml index 09d7dbc..71b4a7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,8 @@ local-builder = ["local", "dep:reqwest"] # Enables the use of OS native certificate store. # Should be used with `default-features = false` to also disable webpki-roots, which is activated by default. native-certs = ["reqwest?/rustls-tls-native-roots"] +# We can't use all-features because of gix-curl, so this is just an alias for my sanity +__internal_all = ["git", "sparse", "local-builder"] [dependencies] bytes = { version = "1.4", optional = true }