NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
crates.io
crates.io, #533 most downloaded on crates.io
Parse integers directly from `[u8]` slices in safe code
Latest stable
3.1.1
Last release 1 months ago
16 Oct 2026
Release timing varies
gaps range from 3 weeks to 3.6 years
Most releases are documented
notes for 14 of 16 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
16 releases Β· first in 2017
Drag across the ruler to compare, or tap a release to open it.
Underflow behavior of i16::from_radix_10_checked_signed fixed.
Underflow behavior of i16::from_radix_10_checked_signed fixed.
Underflow behavior had been broken for 5 digit negative numbers smaller than -32768. Either reporting a wrong number in release builds or panicking in Debug builds instead.
Thanks to @mbutrovich for reporting the bug. See issue: https://github.com/pacman82/atoi-rs/issues/54
Add support for isize and usize on 32 and 64 bit platforms
Your coding agent can read these notes before it upgrades. Set up the MCP server β
[breaking] Minimal supported rust compiler now 1.86.0
[breaking] Minimal supported rust compiler now 1.86.0
[breaking] Remove ascii_to_digit
[breaking] Remove trait MaxNumDigits
[breaking] Remove enumeration Sign
It is now an implementation detail of integer
FromRadix10 and its sibling traits used to be implement for any type with a neutral element of addition Zero, its successor One, AddAssign and MulAssign. This allowed it to work not only for builtin types like i32, but also for big integer implementations from other crates. However, it made it also hard to optimize for builtin types. FromRadix10 and its sibling traits FromRadix10Signed, FromRadixSignedChecked, FromRadix16 are now explicitly implemented for builtin types. The generic implementation can still be used by wrapping the type in the new Integer wrapper.Inline from_radix_* functions for builtin types
Since these are no longer generic, we do not get the inlining for free. Benchmarks show significant regressions otherwise
Speed up hexdigit parsing by using masks to unify ascii cases
Thanks to okaneco for the idea
Sign from public interfaceautomatically test no-std on CI
automatically test no-std on CI
no-std by making std a default feature which can be opted out of.Minimal supported compiler is Rust 1.56.0
The atoi function now supports parsing signed integers. Use the FromRadix10 trait directly if you wish to not allow leading + or - signs.
atoi function now supports parsing signed integers. Use the FromRadix10 trait directly if
you wish to not allow leading + or - signs.Introduce FromRadix10Signed and FromRadix10SignedChecked for parsing signed integers.
FromRadix10Signed and FromRadix10SignedChecked for parsing signed integers.Add support for hex numbers through FromRadix16 and FromRadix16Checked.
FromRadix16 and FromRadix16Checked.FromRadix10Checked now has code samples using this trait.fix documentation of overflow behaviour
fix documentation of overflow behaviour
Breaking change: atoi now returns None on overflow
From_radix_10_checked.None on overflowDocumentation now hints at FromRadix10 trait.
FromRadix10 trait.updated dependency to num-traits="0.2.1".
num-traits="0.2.1".* fix comment for Sign::try_from * fix cargo.toml category_slugs
Add Sign type to help with parsing + and -.
Add Sign type to help with parsing + and -.
Nothing published for this version
Nothing published for this version
One column per quarter.