Closed nooberfsh closed 1 month ago
cargo check --package timely_communication
Checking timely_communication v0.12.0 (/home/tom/hdx/projects/timely-dataflow/communication) error: cannot find derive macro Serialize in this scope --> communication/src/networking.rs:25:51 25 #[derive(Debug, PartialEq, Eq, Hash, Clone, Copy, Serialize, Deserialize)] ^^^^^^^^^ note: Serialize is imported here, but it is only a trait, without a derive macro --> communication/src/networking.rs:12:26 12 use serde::{Deserialize, Serialize}; ^^^^^^^^^ help: consider importing this derive macro 3 + use serde_derive::Serialize;
Serialize
3 + use serde_derive::Serialize;
Import the macro in communication/src/lib.rs would fix this.
communication/src/lib.rs
#[macro_use] extern crate serde_derive;
cargo check --package timely_communication
Import the macro in
communication/src/lib.rs
would fix this.