diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08e9b66d..fb3b0164 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,9 @@ env: # List of packages that will be checked with the minimum supported Rust version. # This should be limited to packages that are intended for publishing. RUST_MIN_VER_PKGS: "-p parley -p fontique" + # List of packages that will be checked with libm feature + # This should be limited to packages that have that feature + NO_STD_PKGS: "-p parley -p fontique" # List of features that depend on the standard library and will be excluded from no_std checks. FEATURES_DEPENDING_ON_STD: "std,default,system" @@ -104,7 +107,7 @@ jobs: # TODO: Add --target x86_64-unknown-none to the no_std check once we solve the compilation issues with it - name: cargo clippy (no_std) - run: cargo hack clippy --workspace --ignore-private --locked --optional-deps --each-feature --features libm --exclude-features ${{ env.FEATURES_DEPENDING_ON_STD }} -- -D warnings + run: cargo hack clippy ${{ env.NO_STD_PKGS }} --locked --optional-deps --each-feature --features libm --exclude-features ${{ env.FEATURES_DEPENDING_ON_STD }} -- -D warnings - name: cargo clippy run: cargo hack clippy --workspace --locked --optional-deps --each-feature --features std -- -D warnings diff --git a/examples/tiny_skia_render/Cargo.toml b/examples/tiny_skia_render/Cargo.toml index 5e197e94..181e97ab 100644 --- a/examples/tiny_skia_render/Cargo.toml +++ b/examples/tiny_skia_render/Cargo.toml @@ -5,7 +5,6 @@ edition.workspace = true rust-version.workspace = true license.workspace = true repository.workspace = true -private = true [dependencies] parley = { path = "../.." }