Skip to content

Support separate formatters, overriding skip for pretty printing mode #13

@mzabaluev

Description

@mzabaluev

It would be nice to be able to declare different formatting for the pretty printing representation.
For example, fields that are skipped in normal mode could be printed in the pretty mode:

#[derive(CustomDebug)]
TestingError {
     message: String,
     #[debug(skip)]
     #[pretty]
     logs: Vec<String>,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions