1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[]
= ["Alex Huszagh <ahuszagh@gmail.com>"]
= false
= ["value-formatting", "encoding", "no-std"]
= "Shared utilities for lexical creates."
= "2021"
= ["no_std"]
= "MIT/Apache-2.0"
= "lexical-util"
= "README.md"
= "https://github.com/Alexhuszagh/rust-lexical"
= "1.0.7"
= "1.60.0"
= [
"assets/*",
"docs/*",
"etc/*",
"cargo-timing*.html"
]
[]
= { = "0.1.0", = true }
# FEATURES
# --------
# In order to improve compile times, we have separate support
# for each numeric conversion. Since these features are additive,
# if more features are added, separate crates can add support
# for more features without requiring re-compilation of lexical.
[]
= ["std"]
# Use the standard library.
= []
# Add support for numerical conversions with power-of-two strings.
= []
# Add support for numerical conversions with non-decimal strings.
= ["power-of-two"]
# Add support for parsing custom numerical formats.
= []
# Add support for writing integers.
= []
# Add support for writing floats.
= []
# Add support for parsing integers.
= []
# Add support for parsing floats.
= []
# Reduce code size at the cost of performance.
= []
# Add support for the `f16` and `b16` half-point floating point numbers.
= ["parse-floats", "write-floats", "float16"]
# Internal only features.
# Enable the lint checks.
= []
# UNSUPPORTED
# -----------
# Currently unsupported features.
# Enable support for 128-bit floats. Unsupported and unlikely to ever be.
# https://github.com/Alexhuszagh/rust-lexical/issues/46
# Enable support for 16-bit floats.
# Enable support for 128-bit floats.
= ["parse-floats", "write-floats"]
[]
= ["radix", "format", "write-integers", "write-floats", "parse-integers", "parse-floats", "f16"]
= ["--cfg", "docsrs"]