Cargo Features
[dependencies]
lexical-write-integer = { version = "0.8.5", default-features = false, features = ["std", "power-of-two", "radix", "format", "compact", "safe", "nightly", "lint"] }
- default = std
-
The
std
feature is set by default wheneverlexical-write-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 writing power-of-two integer strings.
Enables power-of-two of lexical-util
Affects
write::WriteInteger
… - radix = power-of-two
-
Add support for writing non-decimal integer strings.
Enables radix of lexical-util
Affects
table_radix::get_table
… - format
-
Add support for writing custom integer formats.
Enables format of lexical-util
- compact
-
Reduce code size at the cost of performance.
Enables compact of lexical-util
Affects
write::WriteInteger
… - safe
-
Ensure only safe indexing is used.
This is not enabled by default for writers, due to the performance costs, and since input can be easily validated to avoid buffer overwrites. - nightly
-
Add support for nightly-only features.
- lint
-
Internal only features.
Enable the lint checks.Enables lint of lexical-util