Cargo Features

[dependencies]
lexical-write-float = { version = "1.0.2", default-features = false, features = ["std", "power-of-two", "radix", "format", "compact", "f16", "lint", "f128"] }
default = std

The std feature is set by default whenever lexical-write-float is added without default-features = false somewhere in the dependency tree.

std default

Use the standard library.

Enables std of lexical-util and lexical-write-integer

power-of-two radix?

Add support for writing power-of-two float strings.

Enables power-of-two of lexical-util and lexical-write-integer

radix = power-of-two

Add support for writing non-decimal float strings.

Enables radix of lexical-util and lexical-write-integer

format

Add support for writing custom float formats.

Enables format of lexical-util

compact

Reduce code size at the cost of performance.

Enables compact of lexical-util and lexical-write-integer

Affects float::RawFloat

f16

Enable support for 16-bit floats.

Enables f16 of lexical-util

lint

INTERNAL ONLY
-------------
Internal only features. These are not meant to be used directly.
Enable the lint checks.

Enables lint of lexical-util and lexical-write-integer

f128

UNSUPPORTED

Currently unsupported features. Enable support for 128-bit floats. Unsupported and unlikely to ever be. https://github.com/Alexhuszagh/rust-lexical/issues/46

Enables f128 of lexical-util