Add no_std test with extra optional deps
@@ -77,10 +77,12 @@ jobs:
run: cargo build --all-features --all-targets
# Check no_std works
- - name: "Check no_std (No Default Features / ${{ matrix.os }} / ${{ matrix.rust }} / Crate ${{ matrix.crate }})"
+ - name: "Check no_std (No Default Features / ${{ matrix.os }} / ${{ matrix.rust }})"
run: cargo check --package serde_with --no-default-features --target thumbv7em-none-eabihf
- - name: "Check no_std+alloc (No Default Features / ${{ matrix.os }} / ${{ matrix.rust }} / Crate ${{ matrix.crate }})"
+ - name: "Check no_std+alloc (No Default Features / ${{ matrix.os }} / ${{ matrix.rust }})"
run: cargo check --package serde_with --no-default-features --features=alloc --target thumbv7em-none-eabihf
+ - name: "Check no_std+alloc+optional (No Default Features / ${{ matrix.os }} / ${{ matrix.rust }})"
+ run: cargo check --package serde_with --no-default-features --features=alloc,base64,chrono,hex,indexmap,json,time_0_3 --target thumbv7em-none-eabihf
# The tests are split into build and run steps, to see the time impact of each
# cargo test --all-targets does NOT run doctests
