diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index 5c4f3b662..5cc883376 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -16,6 +16,7 @@ authors = [ default = [ "runtime-async-std" ] # databases +all-databases = [ "postgres", "mysql", "sqlite", "mssql" ] 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" ] sqlite = [ "libsqlite3-sys" ] @@ -32,7 +33,7 @@ runtime-tokio = [ "sqlx-rt/runtime-tokio" ] runtime-actix = [ "sqlx-rt/runtime-actix" ] # support offline/decoupled building (enables serialization of `Describe`) -offline = ["serde"] +offline = [ "serde" ] [dependencies] atoi = "0.3.2" diff --git a/sqlx-core/src/sqlite/mod.rs b/sqlx-core/src/sqlite/mod.rs index b6b547dba..bb25f45fe 100644 --- a/sqlx-core/src/sqlite/mod.rs +++ b/sqlx-core/src/sqlite/mod.rs @@ -37,4 +37,4 @@ impl_executor_for_transaction!(Sqlite, SqliteRow); // required because some databases have a different handling // of NULL -impl_encode_for_option!(Postgres); +impl_encode_for_option!(Sqlite);