# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "format_num_pattern" version = "0.9.3" authors = ["thomasscharler "] build = false exclude = [ ".idea/*", ".gitignore", ] autobins = false autoexamples = false autotests = false autobenches = false description = "format numbers according to a pattern string; localized" readme = "readme.md" keywords = [ "format", "number", "num", "convert", "localized", ] categories = [ "encoding", "value-formatting", "localization", ] license = "MIT/Apache-2.0" repository = "https://github.com/thscharler/format_num_pattern" [lib] name = "format_num_pattern" path = "src/lib.rs" [[test]] name = "bench_numbers" path = "tests/bench_numbers.rs" [[test]] name = "lib_test" path = "tests/lib_test.rs" [[test]] name = "test_number" path = "tests/test_number.rs" [dependencies.log] version = "0.4" [dependencies.memchr] version = "2.7.2" [dependencies.pure-rust-locales] version = "0.8" [dependencies.rust_decimal] version = "1.34" optional = true [dependencies.rust_decimal_macros] version = "1.34" optional = true [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.fern] version = "0.6" [dev-dependencies.humantime] version = "2.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.ryu] version = "1.0.17" [features] default = [] rust_decimal = [ "dep:rust_decimal", "dep:rust_decimal_macros", ] [lints.rust] absolute_paths_not_starting_with_crate = "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" missing_debug_implementations = "warn" missing_docs = "allow" non_ascii_idents = "warn" noop_method_call = "warn" semicolon_in_expressions_from_macros = "warn" trivial_casts = "warn" trivial_numeric_casts = "warn" unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "warn" unstable_features = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_qualifications = "warn" variant_size_differences = "warn"