From b897332d19ecb349a58e2aef5e838c8fd96b43ed Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Thu, 3 Aug 2023 22:34:24 -0700 Subject: [PATCH] Limit features --- .github/workflows/rust.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3c0e7311f5..1ab0f68ef5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -54,10 +54,12 @@ jobs: if: ${{ matrix.rust == '1.61.0' }} run: mv Cargo.lock.msrv Cargo.lock - name: build - run: cargo build -v --all-features + run: cargo build -v --features webp,webp-encoder - name: test if: ${{ matrix.rust != '1.61.0' }} - run: cargo test -v --all-features && cargo doc -v --all-features + run: > + cargo test -v --features webp,webp-encoder && + cargo doc -v --features webp,webp-encoder build_big_endian: name: Run tests on big endian architecture