I have a struct that I am applying the
RustcDecodable attributes to. The struct contains a
Timespec and the compiler is complaining that
Timespec is missing the functions it needs to encode and decode itself. I find this odd as the code for
#[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))] and I do have rustc-serialize as a dependency in my Cargo.toml.
Is there something else that has to be done to have to compiler add the necessary functions to the