fix(sqlite): minor typo when encode for Option<T> became a macro

This commit is contained in:
Ryan Leckey 2020-06-07 02:15:29 -07:00
parent 13598c0eeb
commit 9233cb5812
2 changed files with 3 additions and 2 deletions

View file

@ -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"

View file

@ -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);