Skip to content

Formatting things other than bytes #37

@3tilley

Description

@3tilley

How do you feel about this library being used to format things other than bytes? In my case I'd like just to get unitless sizes, (like cycles) or even supply my own (like Pascals).

I think it could be done by updating the FormatSizeOptions struct to allow unit_string or similar to be passed in. If you think you're happy with the idea, I could look into how to implement it?

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