mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
fix(sqlite): minor typo when encode for Option<T> became a macro
This commit is contained in:
parent
13598c0eeb
commit
9233cb5812
2 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue