powerfmt/lib.rs
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")]
10extern crate alloc;
11
12pub mod buf;
13pub mod ext;
14pub mod smart_display;
15mod smart_display_impls;