From 9233cb5812cb47abb939eda217dbe8f915308988 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Sun, 7 Jun 2020 02:15:29 -0700 Subject: [PATCH] fix(sqlite): minor typo when encode for Option became a macro --- sqlx-core/Cargo.toml | 3 ++- sqlx-core/src/sqlite/mod.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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);