[package]
edition = "2021"
name = "humfmt"
version = "0.2.0"
authors = ["MuXolotl"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic human-readable formatting toolkit for Rust"
documentation = "https://docs.rs/humfmt"
readme = "README.md"
keywords = [
"format",
"humanize",
"display",
"number",
"numeric",
]
categories = [
"value-formatting",
"text-processing",
]
license = "MIT"
repository = "https://github.com/MuXolotl/humfmt"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = []
chrono = ["dep:chrono"]
default = [
"std",
"english",
]
english = []
polish = []
russian = []
std = []
time = ["dep:time"]
[lib]
name = "humfmt"
path = "src/lib.rs"
[[example]]
name = "smoke"
path = "examples/smoke.rs"
[[test]]
name = "ago_format"
path = "tests/ago_format.rs"
[[test]]
name = "bytes_format"
path = "tests/bytes_format.rs"
[[test]]
name = "chrono_integration"
path = "tests/chrono_integration.rs"
[[test]]
name = "custom_locale"
path = "tests/custom_locale.rs"
[[test]]
name = "duration_format"
path = "tests/duration_format.rs"
[[test]]
name = "duration_locale"
path = "tests/duration_locale.rs"
[[test]]
name = "list_format"
path = "tests/list_format.rs"
[[test]]
name = "number_format"
path = "tests/number_format.rs"
[[test]]
name = "ordinal_format"
path = "tests/ordinal_format.rs"
[[test]]
name = "polish_locale"
path = "tests/polish_locale.rs"
[[test]]
name = "russian_locale"
path = "tests/russian_locale.rs"
[[test]]
name = "time_integration"
path = "tests/time_integration.rs"
[dependencies.chrono]
version = "0.4"
optional = true
default-features = false
[dependencies.time]
version = "0.3"
optional = true
default-features = false