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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[]
= ["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.6"
= "1.63.0"
= [
"assets/*",
"docs/*",
"etc/*",
"cargo-timing*.html"
]
[]
= "1"
[]
# 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
= { = "https://github.com/Alexhuszagh/quickcheck/", = "i32min-shrink-bound-legacy" }
= ">=1.5.0"
# 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.
= ["write", "integers"]
# Add support for writing floats.
= ["write", "floats"]
# Add support for parsing integers.
= ["parse", "integers"]
# Add support for parsing floats.
= ["parse", "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"]
# Internal only features.
# Enable the lint checks.
= []
# Add support for writing numbers.
= []
# Add support for parsing numbers.
= []
# Add support for conversions to or from integers.
= []
# Add support for conversions to or from floats.
= []
# 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"]