Cargo Features
[dependencies]
lexical-parse-integer = { version = "0.8.6", default-features = false, features = ["std", "power-of-two", "radix", "format", "compact", "safe", "nightly", "lint"] }
- default = std
-
The
std
feature is set by default wheneverlexical-parse-integer
is added without
somewhere in the dependency tree.default-features = false - std default
-
Use the standard library.
Enables std of lexical-util
- power-of-two radix?
-
Add support for parsing power-of-two integer strings.
Enables power-of-two of lexical-util
- radix = power-of-two
-
Add support for parsing non-decimal integer strings.
Enables radix of lexical-util
- format
-
Add support for parsing custom integer formats.
Enables format of lexical-util
- compact
-
Reduce code size at the cost of performance.
Enables compact of lexical-util
- safe
-
Ensure only safe indexing is used. This is a no-op, since all examples of potential memory unsafety are trivial to prove safe.
- nightly
-
Add support for nightly-only features.
- lint
-
Internal only features.
Enable the lint checks.Enables lint of lexical-util