NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #762 most downloaded on crates.io
Shared utilities for lexical creates.
Latest stable
1.0.7
Last release 1 years ago
21 Sep 2025
Release timing varies
gaps range from 1 weeks to 2.3 years
Nearly every release is documented
notes for 12 of 13 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
13 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Increment high-level lexical version for release.
Increment high-level lexical version for release.
Only require 19 digits for writing i64 and not 20 ( #191 ).
i64 and not 20 (#191).Fixes #191.
Fixes apache/datafusion#13686
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Improved performance of integer and float formatting using the jeaiii algorithm with additional optimizations to minimize branching ( #163 ). This als
Improved performance of number formatting with non-decimal radices ( #169 ).
Higher performance when parsing floats with digit separators.
no_integer_leading_zeros was enabled.Error::InvalidDigit.Regressions where parsing digit separators without the compact panicked.
compact panicked.The full changelog is as follows:
The full changelog is as follows:
alloc in no_std ennvironments without the write feature.MaybeUninit.-0.0 with a leading -.lexical-util and clearly documented the preconditions to use safely.lexical-write-integer and clearly documented the preconditions to use safely._unchecked API methods, since the performance benefits are dubious and it makes safety invariant checking much harder.safe and nightly features, since ASM is now supported by the MSRV on stable and opt-in for memory-safe indexing is no longer relevant.Fixed numeric overflow bug causing panic (should explicitly wrap) in dragonbox algorithm's umul192_lower128.
umul192_lower128.clippy and fmt lints.clap versions.powerpc64le checks due to bugs in workflow.Updated the algorithms used in float writing to use the latest improvements to dragonbox. The resulting code is more compact, and should compile faste
Updated the algorithms used in float writing to use the latest improvements to dragonbox. The resulting code is more compact, and should compile faster due to not requiring static table generation during compilation.
Numerous bug fixes and minor feature additions.
Numerous bug fixes and minor feature additions.
-Zmiri-tag-raw-pointers in miri correctness checks.format_error and format_is_valid to determine if a format packed struct is valid, since the previous checks relied on undocumented behavior.from_radix to ParseFloatOptions and WriteFloatOptions, to simplify creating the default options with a different radix.no_std in lexical-parse-float when default features are disabled.power-of-two feature enabled for radixes 16 and 32.Existing code using digit separators such as "4_2.0" in the integral component would fail, due the counting of non-digit separators in number parsing
Existing code using digit separators such as "4_2.0" in the integral component would fail, due the counting of non-digit separators in number parsing not incrementing when calling step_by_unchecked. This led to erroneous Error::EmptyInteger results.
format where skip::Bytes::count was not being incremented in step_by_unchecked.This was a large release that Involved a near complete re-write of lexical for faster algorithms, a simpler internal design, and faster digit parsing
This was a large release that Involved a near complete re-write of lexical for faster algorithms, a simpler internal design, and faster digit parsing implementations.
NumberFormat to be a packed u128 struct to allow more extensive configuration and use const generics.NumberFormat to be an internal implementation detail, and NumberFormatBuilder to be the public API for creating custom formats at compile time.Added parse_with_options, parse_partial_with_options.
Added write_with_options, write_unchecked, and write_with_options_unchecked.
Remove the write_format, write_radix, and similar functions.
Remove the parse_format, parse_radix, and similar functions.
Added a faster float writer and parser for power of 2 radixes.
Added the required_exponent_notation flag to NumberFormat.
Added the power-of-two feature, for conversion to and from strings with power-of-two bases.
Added the compact feature, optimized for binary size rather than performance.
Added extensive documentation on benchmarks, algorithms used, and internal implementation details.
dtoa feature. This allows only 1 compact backend and 1 performance backend, for fully additive features. The new Dragonbox algorithm is faster than any existing algorithms.rounding feature. This was never used in practice.This is a very large release that involved a full re-write from the ground-up.
parse_with_options, parse_partial_with_optionswrite_with_options.required_exponent_notation flag to NumberFormat.power-of-two feature, for conversion to and from strings with power-of-two bases.compact feature, optimized for binary size rather than performance.write_format, write_radix, and similar functions.parse_format, parse_radix, and similar functions.dtoa feature.rounding feature.One column per quarter.