Skip to content

Commit

Permalink
Add alias for all-features since we can't use it any longer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Jul 25, 2024
1 parent 97dbb8c commit a8b026a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit a8b026a

Please sign in to comment.