lexical
Lexical, to- and from-string conversion routines.
7.0.5
33M downloads/mo
#1595 most downloaded on crates.io
Alexhuszagh/rust-lexical
What this package is like to depend on
Last release 11 months ago
21 Sep 2025
Ships unpredictably
gaps range from 1 weeks to 2.3 years
No release notes found
nothing matched a version
22 versions withdrawn
withdrawn after publishing
8 years old
52 releases · first in 2018
1 release in the last 12 months
see the full history below
Release timeline
52 releases · Oct 2018 to Sep 2025Releases
latest 52-
7.0.521 Sep 2025Nothing published for this version
-
7.0.408 Dec 2024Nothing published for this version
-
7.0.306 Dec 2024Nothing published for this version
-
7.0.225 Sep 2024Nothing published for this version
-
7.0.115 Sep 2024Nothing published for this version
-
7.0.014 Sep 2024Nothing published for this version
-
6.1.118 May 2022Nothing published for this version
-
6.1.010 Mar 2022Nothing published for this version
-
6.0.104 Oct 2021Nothing published for this version
-
6.0.003 Sep 2021Nothing published for this version
-
5.2.221 Apr 2021Nothing published for this version
-
5.2.113 Feb 2021Nothing published for this version
-
5.2.029 Jan 2020Nothing published for this version
-
5.1.025 Jan 2020Nothing published for this version
-
5.0.007 Jan 2020Nothing published for this version
-
4.2.121 Apr 2021Nothing published for this version
-
4.2.029 Jan 2020Nothing published for this version
-
4.1.025 Jan 2020Nothing published for this version
-
4.0.008 Sep 2019Nothing published for this version
-
3.0.121 Apr 2021Nothing published for this version
-
3.0.021 Aug 2019Nothing published for this version
-
2.2.421 Apr 2021Nothing published for this version
-
2.2.226 Jul 2019Nothing published for this version
-
2.2.120 Jun 2019Nothing published for this version
-
2.2.020 Jun 2019Nothing published for this version
-
2.1.014 Feb 2019Nothing published for this version
-
2.0.023 Dec 2018Nothing published for this version
-
1.9.119 Dec 2018Nothing published for this version
-
1.9.018 Dec 2018Nothing published for this version
-
1.8.216 Dec 2018Nothing published for this version
-
1.8.015 Dec 2018 withdrawnNothing published for this version
-
1.6.727 Nov 2018 withdrawnNothing published for this version
-
1.6.627 Nov 2018 withdrawnNothing published for this version
-
1.6.527 Nov 2018 withdrawnNothing published for this version
-
1.6.325 Nov 2018 withdrawnNothing published for this version
-
1.6.225 Nov 2018 withdrawnNothing published for this version
-
1.6.125 Nov 2018 withdrawnNothing published for this version
-
1.6.025 Nov 2018 withdrawnNothing published for this version
-
1.5.011 Nov 2018 withdrawnNothing published for this version
-
1.4.210 Nov 2018 withdrawnNothing published for this version
-
1.4.110 Nov 2018 withdrawnNothing published for this version
-
1.4.010 Nov 2018 withdrawnNothing published for this version
-
1.3.208 Nov 2018 withdrawnNothing published for this version
-
1.3.108 Nov 2018 withdrawnNothing published for this version
-
1.3.008 Nov 2018 withdrawnNothing published for this version
-
1.2.108 Nov 2018 withdrawnNothing published for this version
-
1.2.008 Nov 2018 withdrawnNothing published for this version
-
1.1.008 Nov 2018 withdrawnNothing published for this version
-
1.0.301 Nov 2018 withdrawnRelease notes
Open source →Changed
- Improved performance of number formatting with non-decimal radices (#169).
Fixed
- Inaccurate number formatting with non-decimal radices (#169).
Release notes
Open source →Changed
- Improved performance of number formatting with non-decimal radices (#169).
Fixed
- Inaccurate number formatting with non-decimal radices (#169).
-
1.0.201 Nov 2018 withdrawnRelease notes
Open source →Changed
- Higher performance when parsing floats with digit separators.
Fixed
- Inlining inconsistency between public API methods (credit to @zheland)
- Incorrectly accepting leading zeros when
no_integer_leading_zeroswas enabled. - Have consistent errors when an invalid leading digit is found for floating point numbers to always be
Error::InvalidDigit. - Incorrect parsing of consecutive digit separators.
- Inaccuracies when parsing digit separators at various positions leading to incorect errors being returned.
- Selecting only a subset of parse and/or write features would cause compilation errors.
- Fixed bug with writing integers with custom radices.
-
1.0.001 Nov 2018 withdrawnRelease notes
Open source →Added
- Added fuzzing and miri code safety analysis to our CI pipelines.
- Removed requirement of
allocinno_stdennvironments without thewritefeature. - Make multi-digit optimizations in integer parsing optional.
- Much higher miri coverage including for proptests and our corner cases from the golang test suite.
Changed
- Updated the MSRV to 1.63.0 (1.65.0 for development).
- Improved performance due to compiler regressions in rustc 1.81.0 and above.
Fixed
- Removed use of undefined behavior in
MaybeUninit. - Provide better safety documentation.
- Parsing of Ruby float literals.
- Performance regressions in Rust 1.81.0+.
- Removed incorrect bounds checking in reading from iterators.
- Overflow checking with integer parsing.
- Writing
-0.0with a leading-. - Reduced binary siezes when the compact feature was enabled.
- Improved performance of integer and float parsing, particularly with small integers.
- Removed almost all unsafety in
lexical-utiland clearly documented the preconditions to use safely. - Removed almost all unsafety in
lexical-write-integerand clearly documented the preconditions to use safely. - Writing special numbers even with invalid float formats is now always memory safe.
Removed
- Support for mips (MIPS), mipsel (MIPS LE), mips64 (MIPS64 BE), and mips64el (MIPS64 LE) on Linux.
- All
_uncheckedAPI methods, since the performance benefits are dubious and it makes safety invariant checking much harder. - The
safeandnightlyfeatures, since ASM is now supported by the MSRV on stable and opt-in for memory-safe indexing is no longer relevant.
-
0.0.129 Oct 2018 withdrawnNothing published for this version