Skip to content

Commit

Permalink
fix(sqlite): minor typo when encode for Option<T> became a macro
Browse files Browse the repository at this point in the history
  • Loading branch information
mehcode committed Jun 7, 2020
1 parent 13598c0 commit 9233cb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sqlx-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion sqlx-core/src/sqlite/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 9233cb5

Please sign in to comment.