| 1 |
[package] |
| 2 |
name = "powerfmt" |
| 3 |
version = "0.2.0" |
| 4 |
authors = ["Jacob Pratt <[email protected]>"] |
| 5 |
edition = "2021" |
| 6 |
rust-version = "1.67.0" |
| 7 |
repository = "https://github.com/jhpratt/powerfmt" |
| 8 |
keywords = ["display", "format", "fmt", "formatter", "extension"] |
| 9 |
categories = ["no-std", "no-std::no-alloc", "rust-patterns"] |
| 10 |
readme = "README.md" |
| 11 |
license = "MIT OR Apache-2.0" |
| 12 |
description = """ |
| 13 |
`powerfmt` is a library that provides utilities for formatting values. This crate makes it |
| 14 |
significantly easier to support filling to a minimum width with alignment, avoid heap |
| 15 |
allocation, and avoid repetitive calculations. |
| 16 |
""" |
| 17 |
|
| 18 |
[package.metadata.docs.rs] |
| 19 |
all-features = true |
| 20 |
targets = ["x86_64-unknown-linux-gnu"] |
| 21 |
rustdoc-args = ["--cfg", "__powerfmt_docs", "--generate-link-to-definition"] |
| 22 |
|
| 23 |
[lints] |
| 24 |
workspace = true |
| 25 |
|
| 26 |
[features] |
| 27 |
default = ["std", "macros"] |
| 28 |
alloc = [] |
| 29 |
std = ["alloc"] |
| 30 |
macros = ["dep:powerfmt-macros"] |
| 31 |
|
| 32 |
[dependencies] |
| 33 |
powerfmt-macros = { workspace = true, optional = true } |