We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[cfg(feature = "time")]
time
impl SerializeCql
1 parent 4a4fd0e commit 5714db1Copy full SHA for 5714db1
scylla-cql/src/types/serialize/value.rs
@@ -172,21 +172,21 @@ impl SerializeCql for NaiveTime {
172
<CqlTime as SerializeCql>::serialize(&cql_time, typ, writer)?
173
});
174
}
175
-#[cfg(feature = "chrono")]
+#[cfg(feature = "time")]
176
impl SerializeCql for time::Date {
177
impl_serialize_via_writer!(|me, typ, writer| {
178
exact_type_check!(typ, Date);
179
<CqlDate as SerializeCql>::serialize(&(*me).into(), typ, writer)?
180
181
182
183
impl SerializeCql for time::OffsetDateTime {
184
185
exact_type_check!(typ, Timestamp);
186
<CqlTimestamp as SerializeCql>::serialize(&(*me).into(), typ, writer)?
187
188
189
190
impl SerializeCql for time::Time {
191
192
exact_type_check!(typ, Time);
0 commit comments