[package] authors = ["Alex Huszagh "] autobenches = false categories = ["value-formatting", "encoding", "no-std"] description = "Efficient formatting of integers to strings." edition = "2018" keywords = ["encoding", "lexical", "no_std"] license = "MIT/Apache-2.0" name = "lexical-write-integer" readme = "README.md" repository = "https://github.com/Alexhuszagh/rust-lexical" version = "1.0.2" exclude = [ "assets/*", "docs/*", "etc/*", "cargo-timing*.html" ] [dependencies] static_assertions = "1" [dependencies.lexical-util] version = "1.0.3" path = "../lexical-util" default-features = false features = ["write-integers"] [dev-dependencies] # FIXME: Replace back to "1.0.4" once the PR is merged. # There's an issue in quickcheck due to an infinitely repeating shrinker. # Issue: https://github.com/BurntSushi/quickcheck/issues/295 # Fix: https://github.com/BurntSushi/quickcheck/pull/296 quickcheck = { git = "https://github.com/neithernut/quickcheck/", branch = "i32min-shrink-bound" } proptest = ">=1.5.0" [features] default = ["std"] # Use the standard library. std = ["lexical-util/std"] # Add support for writing power-of-two integer strings. power-of-two = ["lexical-util/power-of-two"] # Add support for writing non-decimal integer strings. radix = ["lexical-util/radix", "power-of-two"] # Add support for writing custom integer formats. format = ["lexical-util/format"] # Reduce code size at the cost of performance. compact = ["lexical-util/compact"] # INTERNAL ONLY # ------------- # Internal only features. These are not meant to be used directly. # Enable the lint checks. lint = ["lexical-util/lint"] [package.metadata.docs.rs] features = ["radix", "format"]