format_num_pattern 0.9.4

format numbers according to a pattern string; localized
Documentation
[package]

name = "format_num_pattern"

version = "0.9.4"

edition = "2021"

authors = ["thomasscharler <thscharler@gmail.com>"]

description = "format numbers according to a pattern string; localized"

license = "MIT/Apache-2.0"

repository = "https://github.com/thscharler/format_num_pattern"

readme = "readme.md"

keywords = ["format", "number", "num", "convert", "localized"]

categories = ["encoding", "value-formatting", "localization"]

exclude = [".idea/*", ".gitignore"]



[lints.rust]

absolute_paths_not_starting_with_crate = "warn"

# box_pointers = "warn"

elided_lifetimes_in_paths = "warn"

explicit_outlives_requirements = "warn"

keyword_idents = "warn"

macro_use_extern_crate = "warn"

meta_variable_misuse = "warn"

missing_abi = "warn"

# NOT_ACCURATE: missing_copy_implementations = "warn"

missing_debug_implementations = "warn"

missing_docs = "allow"

non_ascii_idents = "warn"

noop_method_call = "warn"

# NO: or_patterns_back_compat = "warn"

semicolon_in_expressions_from_macros = "warn"

# NOT_ACCURATE: single_use_lifetimes = "warn"

trivial_casts = "warn"

trivial_numeric_casts = "warn"

unreachable_pub = "warn"

# unsafe_code: = "warn"

unsafe_op_in_unsafe_fn = "warn"

unstable_features = "warn"

# NO: unused_crate_dependencies = "warn"

# NO: unused_extern_crates = "warn"

unused_import_braces = "warn"

unused_lifetimes = "warn"

unused_qualifications = "warn"

# NO: unused_results = "warn"

variant_size_differences = "warn"



[features]

default = []

# Add conversions from rust_decimal.

rust_decimal = ["dep:rust_decimal", "dep:rust_decimal_macros"]



[dependencies]

pure-rust-locales = "0.8"

log = "0.4"

memchr = "2.7.2"



rust_decimal = { version = "1.34", optional = true }

rust_decimal_macros = { version = "1.34", optional = true }



[dev-dependencies]

fern = "0.6"

humantime = "2.1"

rand = "0.8.5"

ryu = "1.0.17"

anyhow = "1.0"

rust_decimal = { version = "1.34" }

rust_decimal_macros = { version = "1.34" }