diff --git a/.github/workflows/sqlx.yml b/.github/workflows/sqlx.yml index 5d83c042..ae4cb42b 100644 --- a/.github/workflows/sqlx.yml +++ b/.github/workflows/sqlx.yml @@ -97,7 +97,7 @@ jobs: command: test args: > --no-default-features - --features sqlite,all-types,runtime-${{ matrix.runtime }} + --features any,macros,sqlite,all-types,runtime-${{ matrix.runtime }} -- --test-threads=1 env: @@ -134,7 +134,7 @@ jobs: command: test args: > --no-default-features - --features postgres,macros,all-types,runtime-${{ matrix.runtime }} + --features any,postgres,macros,all-types,runtime-${{ matrix.runtime }} env: DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx @@ -143,7 +143,7 @@ jobs: command: test args: > --no-default-features - --features postgres,macros,all-types,runtime-${{ matrix.runtime }} + --features any,postgres,macros,all-types,runtime-${{ matrix.runtime }} env: DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx?sslmode=verify-ca&sslrootcert=.%2Ftests%2Fcerts%2Fca.crt @@ -178,7 +178,7 @@ jobs: command: test args: > --no-default-features - --features mysql,macros,all-types,runtime-${{ matrix.runtime }} + --features any,mysql,macros,all-types,runtime-${{ matrix.runtime }} env: DATABASE_URL: mysql://root:password@localhost:3306/sqlx @@ -213,7 +213,7 @@ jobs: command: test args: > --no-default-features - --features mysql,macros,all-types,runtime-${{ matrix.runtime }} + --features any,mysql,macros,all-types,runtime-${{ matrix.runtime }} env: DATABASE_URL: mysql://root:password@localhost:3306/sqlx @@ -248,6 +248,6 @@ jobs: command: test args: > --no-default-features - --features mssql,macros,all-types,runtime-${{ matrix.runtime }} + --features any,mssql,macros,all-types,runtime-${{ matrix.runtime }} env: DATABASE_URL: mssql://sa:Password123!@localhost/sqlx diff --git a/Cargo.toml b/Cargo.toml index 0559a119..b623f0e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ offline = [ "sqlx-macros/offline", "sqlx-core/offline" ] # intended mainly for CI and docs all = [ "tls", "all-databases", "all-types" ] -all-databases = [ "mysql", "sqlite", "postgres", "mssql" ] +all-databases = [ "mysql", "sqlite", "postgres", "mssql", "any" ] all-types = [ "bigdecimal", "json", "time", "chrono", "ipnetwork", "uuid" ] # runtime diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index b0be773a..bfc37265 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -16,7 +16,7 @@ authors = [ default = [ "runtime-async-std" ] # databases -all-databases = [ "postgres", "mysql", "sqlite", "mssql" ] +all-databases = [ "postgres", "mysql", "sqlite", "mssql", "any" ] postgres = [ "md-5", "sha2", "base64", "sha-1", "rand", "hmac", "futures-channel/sink", "futures-util/sink" ] mysql = [ "sha-1", "sha2", "generic-array", "num-bigint", "base64", "digest", "rand", "rsa" ] sqlite = [ "libsqlite3-sys" ]