diff --git a/.github/workflows/test-rust.yml b/.github/workflows/test-rust.yml index 2aaedace..2480ad19 100644 --- a/.github/workflows/test-rust.yml +++ b/.github/workflows/test-rust.yml @@ -209,7 +209,7 @@ jobs: with: use-cross: ${{ matrix.platform.cross }} command: ${{ matrix.platform.command }} - args: --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --all-features --features mysql + args: --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features mysql - name: test ${{ matrix.package }} postgres if: matrix.package == 'tauri-plugin-sql' @@ -217,4 +217,4 @@ jobs: with: use-cross: ${{ matrix.platform.cross }} command: ${{ matrix.platform.command }} - args: --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --all-features --features postgres + args: --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features postgres diff --git a/plugins/sql/src/lib.rs b/plugins/sql/src/lib.rs index 378240b3..20153109 100644 --- a/plugins/sql/src/lib.rs +++ b/plugins/sql/src/lib.rs @@ -7,7 +7,9 @@ all(feature = "sqlite", feature = "postgres"), all(feature = "mysql", feature = "postgres") ))] -compile_error!("Only one database driver can be enabled. Use `default-features = false` and set the feature flag for the driver of your choice."); +compile_error!( + "Only one database driver can be enabled. Set the feature flag for the driver of your choice." +); #[cfg(not(any(feature = "sqlite", feature = "mysql", feature = "postgres")))] compile_error!(