Skip to content

No alloc display wrapper? #118

@dpc

Description

@dpc

I'm looking for something like:

info!(bytes = %bytes.fmt_encode(&BASE64), "Some bytes");

That would allow allocation-free formatting in-line. It would simply wrap bytes into a struct that impl fmt::Display and uses encode_write.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions