# 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 = "num-format" version = "0.4.4" authors = ["Brian Myers "] publish = true description = "A Rust crate for producing string-representations of numbers, formatted according to international standards" homepage = "https://github.com/bcmyers/num-format" documentation = "https://docs.rs/num-format" readme = "README.md" keywords = [ "comma", "internationalization", "number", "separator", "thousands", ] categories = [ "encoding", "internationalization", "localization", "no-std", "value-formatting", ] license = "MIT/Apache-2.0" repository = "https://github.com/bcmyers/num-format" resolver = "1" [dependencies.arrayvec] version = "0.7.2" default-features = false [dependencies.itoa] version = "1.0.4" default-features = false [dependencies.lazy_static] version = "1.4.0" optional = true [dependencies.num-bigint] version = "0.4.3" optional = true [dependencies.serde] version = "1.0.145" optional = true default-features = false [dev-dependencies.cfg-if] version = "1.0.0" [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde_json] version = "1.0.85" [features] default = ["std"] std = ["arrayvec/default"] with-num-bigint = [ "num-bigint", "std", ] with-serde = [ "arrayvec/serde", "serde/derive", ] with-system-locale = [ "cfg-if", "encoding_rs", "lazy_static", "libc", "num-format-windows", "std", "widestring", "winapi/winnls", ] [target."cfg(unix)".dependencies.cfg-if] version = "1.0.0" optional = true [target."cfg(unix)".dependencies.encoding_rs] version = "0.8.31" optional = true [target."cfg(unix)".dependencies.libc] version = "0.2.134" optional = true [target."cfg(windows)".dependencies.num-format-windows] version = "0.4.4" optional = true [target."cfg(windows)".dependencies.widestring] version = "1.0.2" optional = true [target."cfg(windows)".dependencies.winapi] version = "0.3.9" features = ["winnls"] optional = true