[package]
authors = ["Alex Huszagh <ahuszagh@gmail.com>"]
autobenches = false
categories = ["parsing", "encoding", "no-std"]
description = "Lexical, to- and from-string conversion routines."
documentation = "https://docs.rs/lexical-core"
keywords = ["parsing", "lexical", "encoding", "no_std"]
license = "MIT/Apache-2.0"
name = "lexical-core"
readme = "README.md"
repository = "https://github.com/Alexhuszagh/rust-lexical/tree/master/lexical-core"
version = "0.4.0"
[lib]
crate-type = ["lib", "staticlib", "cdylib"]
[badges]
travis-ci = { repository = "Alexhuszagh/rust-lexical" }
[dependencies]
cfg-if = "0.1"
static_assertions = "0.2.5"
stackvector = { version = "^1.0.2", optional = true }
dtoa = { version = "0.4", optional = true }
ryu = { version = "^0.2.7", optional = true }
[dev-dependencies]
approx = "0.3.0"
quickcheck = "0.7"
proptest = "0.8.7"
[features]
default = ["correct", "ryu", "std"]
correct = ["stackvector", "table"]
grisu3 = ["dtoa"]
radix = []
rounding = []
std = []
table = []
trim_floats = []
unchecked_index = []
[profile.dev]
opt-level = 0
debug = true
lto = false
panic = 'abort'
[profile.release]
opt-level = 3
debug = false
debug-assertions = false
lto = true
panic = 'abort'