8 releases
0.2.0 | Apr 27, 2021 |
---|---|
0.1.7 |
|
0.0.0 | Apr 22, 2021 |
#1573 in Algorithms
160 downloads per month
Used in parallel-disk-usage
47KB
944 lines
zero-copy-pads
Padding/aligning values without heap allocation.
Cargo Features
std
(default feature):- Disable
#![no_std]
. - Enable features that require heap allocation.
- Disable
Usage
API references and example codes can be found in docs.rs.
License
lib.rs
:
Padding/aligning values without heap allocation.
Features:
std
(default feature):- Disable
#![no_std]
. - Enable features that require heap allocation.
- Disable
Usage:
Almost all items are documented with example codes, such as
align_left
, align_right
, align_center_left
, align_center_right
,
align_column_left
, align_column_right
,
align_column_center_left
, align_column_center_right
,
PaddedValue
, PaddedColumn
, Alignment
,
AlignLeft
, AlignRight
, AlignCenterLeft
, AlignCenterRight
,
etc.
Dependencies
~1.6–2.1MB
~38K SLoC