| 1 | //! `powerfmt` is a library that provides utilities for formatting values. Specifically, it makes it |
| 2 | //! significantly easier to support filling to a minimum width with alignment, avoid heap |
| 3 | //! allocation, and avoid repetitive calculations. |
| 4 | |
| 5 | #![cfg_attr(not(feature = "std"), no_std)] |
| 6 | #![cfg_attr(__powerfmt_docs, feature(doc_auto_cfg, rustc_attrs))] |
| 7 | #![cfg_attr(__powerfmt_docs, allow(internal_features))] |
| 8 | |
| 9 | #[cfg(feature = "alloc")] |
| 10 | extern crate alloc; |
| 11 | |
| 12 | pub mod buf; |
| 13 | pub mod ext; |
| 14 | pub mod smart_display; |
| 15 | mod smart_display_impls; |