diff-struct
diff-struct copied to clipboard
Implement Diff for DateTime<Utc>
Dear Maintainer,
thanks for this nice crate! I do have the following situation:
#[derive(Diff, PartialEq, Eq)]
pub struct ExternalType {
pub timestamp: Datetime<Utc>,
}
Are there any chances to support structs that contain external types?
Best regards, Lewin
Heya @emirror-de! The way forward here in my opinion is to implement this behind a feature flag. There happens to be an example of this now, with the num
crate. Then, whether to add it to the default features is up to opinion
Ah I see, thanks! I will have a look at this as soon as I have time for it :)