[[bench]]
harness = false
name = "comparison"
path = "benches/comparison.rs"
[dependencies.pastey]
version = "0.2.0"
[dependencies.ryuu]
version = "2.0"
[dependencies.unroll-lite]
version = "0.1.0"
[dev-dependencies.criterion]
version = "0.8.1"
[dev-dependencies.human-format-next]
version = "0.2.3"
[dev-dependencies.human_format]
version = "1.1.0"
[features]
alloc = []
default = ["alloc"]
[lib]
name = "humat"
path = "src/lib.rs"
[lints.clippy]
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
assigning_clones = "warn"
bool_to_int_with_if = "warn"
cognitive_complexity = "warn"
create_dir = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
default_trait_access = "warn"
disallowed_script_idents = "deny"
doc_link_with_quotes = "warn"
doc_markdown = "warn"
else_if_without_else = "deny"
enum_glob_use = "warn"
filetype_is_file = "warn"
inefficient_to_string = "warn"
mem_forget = "warn"
missing_panics_doc = "warn"
mod_module_files = "deny"
multiple_inherent_impl = "warn"
mutex_atomic = "warn"
mutex_integer = "warn"
needless_continue = "warn"
panic = "warn"
significant_drop_in_scrutinee = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
wildcard_dependencies = "deny"
wildcard_imports = "warn"
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
[package]
authors = ["Hantong Chen <cxwdyx620@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["value-formatting"]
description = "Formatting numbers for us, while the machines are still at bay."
edition = "2021"
keywords = ["numbers", "formatting", "filesize", "human", "magnitude"]
license = "MIT"
name = "humat"
readme = "README.md"
repository = "https://github.com/hanyu-dev/humat"
rust-version = "1.83.0"
version = "0.3.1"
[[test]]
name = "general"
path = "tests/general.rs"