We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
There are no examples for how to use the Data Formatting structs. I assume something like this:
let bar = ProgressBar::new().with_format(HumanBytes);
But the only examples are for using HumanBytes directly.
HumanBytes
The text was updated successfully, but these errors were encountered:
Use them via the templates, like human_len etc?
human_len
https://docs.rs/indicatif/latest/indicatif/#templates
Sorry, something went wrong.
Is that the intention? If so I suggest adding a comment like
This is used by decimal_bytes and decimal_total_bytes in format templates.
decimal_bytes
decimal_total_bytes
to the DecimalBytes struct description (and similarly for the others).
DecimalBytes
Happy to review a PR for this.
No branches or pull requests
There are no examples for how to use the Data Formatting structs. I assume something like this:
But the only examples are for using
HumanBytes
directly.The text was updated successfully, but these errors were encountered: