diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d9e8ee..daca48f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -151,10 +151,10 @@ jobs: toolchain: stable override: true - uses: Swatinem/rust-cache@v2 - - run: cargo install --version 23.12.0 cargo-mutants + - run: cargo install --version 24.2.1 cargo-mutants - uses: actions-rs/cargo@v1 with: - command: mutants + command: mutants --colors=always - name: Archive results uses: actions/upload-artifact@v3 if: failure() diff --git a/Cargo.toml b/Cargo.toml index e780954..23343ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,9 @@ members = [ "rusqlite_migration", "rusqlite_migration_tokio_async", "rusqlite_migration_tests", + "examples/*", ] +exclude = ["examples/target"] # https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2 resolver = "2" diff --git a/examples/Cargo.toml b/examples/Cargo.toml deleted file mode 100644 index a61cd17..0000000 --- a/examples/Cargo.toml +++ /dev/null @@ -1,5 +0,0 @@ -[workspace] -members = ["*"] -exclude = ["target"] -resolver = "2" - diff --git a/examples/simple/Cargo.toml b/examples/simple/Cargo.toml index d1fe616..6fdefbb 100644 --- a/examples/simple/Cargo.toml +++ b/examples/simple/Cargo.toml @@ -15,5 +15,4 @@ mktemp = "0.5" [dependencies.rusqlite] version = "0.30.0" -default-features = false -features = [] +features = ["extra_check"] # A realistic use case diff --git a/rusqlite_migration/Cargo.toml b/rusqlite_migration/Cargo.toml index acd7805..ae01241 100644 --- a/rusqlite_migration/Cargo.toml +++ b/rusqlite_migration/Cargo.toml @@ -54,6 +54,10 @@ iai = "0.1" insta = "1.34.0" mutants = "0.0.3" +[dev-dependencies.rusqlite] +version = "*" # The version is constrained by the normal dependency package +features = ["extra_check"] + [[bench]] name = "criterion" harness = false