diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 892a630be..893e7e7d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,16 +39,8 @@ jobs: run: | rustup update ${{ matrix.rust }} --no-self-update rustup default ${{ matrix.rust }} - - run: cargo test --verbose - - run: cargo test --verbose --no-default-features - - run: cargo test --verbose --features std,serde,sval,sval_ref,value-bag,kv,kv_std,kv_sval,kv_serde - - run: cargo test --verbose --features serde - - run: cargo test --verbose --features std - - run: cargo test --verbose --features kv - - run: cargo test --verbose --features kv_sval - - run: cargo test --verbose --features kv_serde - - run: cargo test --verbose --features kv,std - - run: cargo test --verbose --features "kv kv_std kv_sval kv_serde" + cargo install cargo-hack + - run: cargo hack test --feature-powerset --lib --exclude-features max_level_off,max_level_error,max_level_warn,max_level_info,max_level_debug,max_level_trace,release_max_level_off,release_max_level_error,release_max_level_warn,release_max_level_info,release_max_level_debug,release_max_level_trace - run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml - run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml --release diff --git a/Cargo.toml b/Cargo.toml index 6b912508e..c5f582081 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,7 @@ release_max_level_info = [] release_max_level_debug = [] release_max_level_trace = [] -std = [] +std = ["value-bag?/std"] kv = [] kv_sval = ["kv", "value-bag/sval", "sval", "sval_ref"]