Fixing NaiveTime not including SQLite
@@ -66,8 +66,8 @@ impl_any_decode!(String);
impl_any_type!(chrono::NaiveDate);
#[cfg(all(
feature = "chrono",
- any(feature = "mysql", feature = "postgres"),
- not(any(feature = "mssql", feature = "sqlite"))
+ any(feature = "mysql", feature = "sqlite", feature = "postgres"),
+ not(feature = "mssql")
))]
impl_any_type!(chrono::NaiveTime);
@@ -93,8 +93,8 @@ impl_any_type!(chrono::DateTime<chrono::offset::Local>);
impl_any_encode!(chrono::NaiveDate);
#[cfg(all(
feature = "chrono",
- any(feature = "mysql", feature = "postgres"),
- not(any(feature = "mssql", feature = "sqlite"))
+ any(feature = "mysql", feature = "sqlite", feature = "postgres"),
+ not(feature = "mssql")
))]
impl_any_encode!(chrono::NaiveTime);
#[cfg(all(
@@ -119,8 +119,8 @@ impl_any_encode!(chrono::DateTime<chrono::offset::Local>);
impl_any_decode!(chrono::NaiveDate);
#[cfg(all(
feature = "chrono",
- any(feature = "mysql", feature = "postgres"),
- not(any(feature = "mssql", feature = "sqlite"))
+ any(feature = "mysql", feature = "sqlite", feature = "postgres"),
+ not(feature = "mssql")
))]
impl_any_decode!(chrono::NaiveTime);
#[cfg(all(
