lexical-parse-float 1.0.2

Efficient parsing of floats from strings.
Documentation
[package]
authors = ["Alex Huszagh <ahuszagh@gmail.com>"]
autobenches = false
categories = ["parsing", "no-std"]
description = "Efficient parsing of floats from strings."
edition = "2018"
keywords = ["parsing", "lexical", "no_std"]
license = "MIT/Apache-2.0"
name = "lexical-parse-float"
readme = "README.md"
repository = "https://github.com/Alexhuszagh/rust-lexical"
version = "1.0.2"
exclude = [
    "assets/*",
    "docs/*",
    "etc/*",
    "cargo-timing*.html"
]

[dependencies.lexical-util]
version = "1.0.3"
path = "../lexical-util"
default-features = false
features = ["parse-floats"]

[dependencies.lexical-parse-integer]
version = "1.0.2"
path = "../lexical-parse-integer"
default-features = false
features = []

[dependencies]
static_assertions = "1"

[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",
    "lexical-parse-integer/std"
]
# Add support for parsing power-of-two float strings.
power-of-two = [
    "lexical-util/power-of-two",
    "lexical-parse-integer/power-of-two"
]
# Add support for parsing non-decimal float strings.
radix = [
    "lexical-util/radix",
    "lexical-parse-integer/radix",
    "power-of-two"
]
# Add support for parsing custom float formats.
format = [
    "lexical-util/format",
    "lexical-parse-integer/format"
]
# Reduce code size at the cost of performance.
compact = [
    "lexical-util/compact",
    "lexical-parse-integer/compact"
]
# Enable support for 16-bit floats.
f16 = ["lexical-util/f16"]

# INTERNAL ONLY
# -------------
# Internal only features. These are not meant to be used directly.
# Enable the lint checks.
lint = [
    "lexical-util/lint",
    "lexical-parse-integer/lint"
]

# UNSUPPORTED
# -----------
# Currently unsupported features.
# Enable support for 128-bit floats. Unsupported and unlikely to ever be.
#   https://github.com/Alexhuszagh/rust-lexical/issues/46
f128 = ["lexical-util/f128"]

[package.metadata.docs.rs]
features = ["radix", "format"]