You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the chrono features is enabled and the time feature is not, the scylla-cql crate fails to compile with the following error:
❯ cargo check --no-default-features -F chrono
Checking scylla-cql v0.0.11(scylla-rust-driver/scylla-cql)
error[E0433]: failed to resolve:use of undeclared crate or module `time`
--> scylla-cql/src/types/serialize/value.rs:176:23
|
176 | impl SerializeCqlfor time::Date{
| ^^^^ use of undeclared crate or module `time`
error[E0433]: failed to resolve:use of undeclared crate or module `time`
--> scylla-cql/src/types/serialize/value.rs:183:23
|
183 | impl SerializeCqlfor time::OffsetDateTime{
| ^^^^ use of undeclared crate or module `time`
error[E0433]: failed to resolve:use of undeclared crate or module `time`
--> scylla-cql/src/types/serialize/value.rs:190:23
|
190 | impl SerializeCqlfor time::Time{
| ^^^^ use of undeclared crate or module `time`
For more information about this error, try `rustc --explain E0433`.error: could not compile `scylla-cql` (lib) due to 3 previous errors
These are all annotated with #[cfg(feature = "chrono")] which perhaps should have been #[cfg(feature = "time")]. Changing these to the latter makes the crate compile; #898 proposes these changes.
The text was updated successfully, but these errors were encountered:
oeb25
added a commit
to oeb25/scylla-rust-driver
that referenced
this issue
Dec 28, 2023
When the
chrono
features is enabled and thetime
feature is not, thescylla-cql
crate fails to compile with the following error:These are all annotated with
#[cfg(feature = "chrono")]
which perhaps should have been#[cfg(feature = "time")]
. Changing these to the latter makes the crate compile; #898 proposes these changes.The text was updated successfully, but these errors were encountered: