diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a869cb..576d00e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,3 +29,8 @@ jobs: - name: Clippy (all features) run: cargo clippy --workspace --all-targets --all-features -- -D warnings + + # Without `--workspace` the features of `azo-sys` are only whatever `azo` + # forwards to it, which is what a dependent crate gets. + - name: Clippy (`azo` on its own) + run: cargo clippy --package azo --all-targets --all-features -- -D warnings diff --git a/Cargo.toml b/Cargo.toml index 8e886e1..81eb118 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ repository.workspace = true [features] default = [] -undocumented = [] +undocumented = ["azo-sys/undocumented"] [dependencies] azo-sys = { path = "./azo-sys", version = "0.0.8" }