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.
2 parents 8263c53 + c23cad4 commit 2faeba0Copy full SHA for 2faeba0
.github/workflows/rust.yml
@@ -34,6 +34,12 @@ jobs:
34
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features ""
35
- name: Cargo check with all serialization features
36
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "full-serialization"
37
+ - name: Cargo check with secret feature
38
+ run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "secret"
39
+ - name: Cargo check with chrono feature
40
+ run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "chrono"
41
+ - name: Cargo check with time feature
42
+ run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "time"
43
- name: Build scylla-cql
44
run: cargo build --verbose --all-targets --manifest-path "scylla-cql/Cargo.toml" --features "full-serialization"
45
- name: Build
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