Crate features / lexical-core
Feature flags · lexical-core 1.0.6 · from crates.io 2026-10-24
lexical-core features: what each one does, and the line to copy
Short answerlexical-core 1.0.6 has 16 features. By default it turns on std, write-integers, write-floats, parse-integers, parse-floats; add default-features = false to start from nothing. It needs Rust 1.60.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
compact | lexical-write-integer?/compact, lexical-write-float?/compact, lexical-parse-integer?/compact, lexical-parse-float?/compact | |
f128 | lexical-util/f128, lexical-parse-float?/f128, lexical-write-float?/f128 | |
f16 | lexical-util/f16, lexical-parse-float?/f16, lexical-write-float?/f16 | |
floats | parse-floats, write-floats | |
format | lexical-util/format, lexical-parse-integer?/format, lexical-parse-float?/format, lexical-write-integer?/format, lexical-write-float?/format | |
integers | parse-integers, write-integers | |
lint | lexical-util/lint, lexical-write-integer?/lint, lexical-write-float?/lint, lexical-parse-integer?/lint, lexical-parse-float?/lint | |
parse | parse-integers, parse-floats | |
parse-floats | yes | lexical-parse-float |
parse-integers | yes | lexical-parse-integer |
power-of-two | lexical-util/power-of-two, lexical-write-integer?/power-of-two, lexical-write-float?/power-of-two, lexical-parse-integer?/power-of-two, lexical-parse-float?/power-of-two | |
radix | power-of-two, lexical-util/radix, lexical-write-integer?/radix, lexical-write-float?/radix, lexical-parse-integer?/radix, lexical-parse-float?/radix | |
std | yes | lexical-util/std, lexical-write-integer/std, lexical-write-float/std, lexical-parse-integer/std, lexical-parse-float/std |
write | write-integers, write-floats | |
write-floats | yes | lexical-write-float |
write-integers | yes | lexical-write-integer |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version lexical-core declares (rust-version), and the release that changed it:
- 1.0.3 (2024-12-06): Rust 1.63.0
- 1.0.6 (2025-09-21): Rust 1.60.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p lexical-core --precise <version>, or use resolver 3, which picks compatible versions for you.
More on lexical-core
Real downloads, dependents and alternatives: lexical-core crate data (351.3K real downloads a day, 72 dependents).
Security record: lexical-core advisories.
docs.rs feature list · crates.io · license MIT/Apache-2.0 · edition 2021
Up next
Before you depend on itlexical-core crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?