powerfmt 0.2.0

`powerfmt` is a library that provides utilities for formatting values. This crate makes it significantly easier to support filling to a minimum width with alignment, avoid heap allocation, and avoid repetitive calculations.


minimum rustc: 1.65 version build status

Documentation is available on docs.rs.

Minimum Rust version policy

powerfmt is guaranteed to compile with the latest stable release of Rust in addition to the two prior minor releases. For example, if the latest stable Rust release is 1.70, then powerfmt is guaranteed to compile with Rust 1.68, 1.69, and 1.70.

The minimum supported Rust version may be increased to one of the aforementioned versions if doing so provides the end user a benefit. However, the minimum supported Rust version may also be bumped to a version four minor releases prior to the most recent stable release if doing so improves code quality or maintainability.

For interoperability with third-party crates, it is guaranteed that there exists a version of that crate that supports the minimum supported Rust version of powerfmt. This does not mean that the latest version of the third-party crate supports the minimum supported Rust version of powerfmt.


Contributions are always welcome! If you have an idea, it's best to float it by me before working on it to ensure no effort is wasted. If there's already an open issue for it, knock yourself out.

If you have any questions, feel free to use Discussions. Don't hesitate to ask questions — that's what I'm here for!


This project is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in time by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.