34 lines
982 B
TOML
34 lines
982 B
TOML
[package]
|
|
name = "powerfmt"
|
|
version = "0.2.0"
|
|
authors = ["Jacob Pratt <jacob@jhpratt.dev>"]
|
|
edition = "2021"
|
|
rust-version = "1.67.0"
|
|
repository = "https://github.com/jhpratt/powerfmt"
|
|
keywords = ["display", "format", "fmt", "formatter", "extension"]
|
|
categories = ["no-std", "no-std::no-alloc", "rust-patterns"]
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
description = """
|
|
`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.
|
|
"""
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
rustdoc-args = ["--cfg", "__powerfmt_docs", "--generate-link-to-definition"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = ["std", "macros"]
|
|
alloc = []
|
|
std = ["alloc"]
|
|
macros = ["dep:powerfmt-macros"]
|
|
|
|
[dependencies]
|
|
powerfmt-macros = { workspace = true, optional = true }
|