JelteF/derive_more

Support custom format on item for `Debug` derive macro

ModProg opened this issue · 4 comments

I.e. something like:

#[derive(Debug)]
#[debug("{name}={value:?}")]
struct Arg {
  name: String,
  value: String
}
JelteF commented

Does this still not work with v1.0.0-beta.2?

AFAICT it only works with Display

@JelteF we have this on fields level for Debug, but missing on item level.

Thank you.