tag | 2cd1301560b261b96b27cae0d699dc211d0b7eba | |
---|---|---|
tagger | David Tolnay <dtolnay@gmail.com> | Sat Dec 09 01:26:22 2023 |
object | 547c143d503f4624ff11ee13fd3a5b0274f4c27f |
Release 1.0.10
commit | 547c143d503f4624ff11ee13fd3a5b0274f4c27f | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sat Dec 09 01:26:22 2023 |
committer | David Tolnay <dtolnay@gmail.com> | Sat Dec 09 01:26:22 2023 |
tree | f60aef834c533e604bb95248d5ead8a67e850b6a | |
parent | ba20a60b10cb32eeb00a0da72ca0dea5364cbe79 [diff] |
Release 1.0.10
This crate provides a fast conversion of integer primitives to decimal strings. The implementation comes straight from libcore but avoids the performance penalty of going through core::fmt::Formatter
.
See also ryu
for printing floating point primitives.
Version requirement: rustc 1.36+
[dependencies] itoa = "1.0"
fn main() { let mut buffer = itoa::Buffer::new(); let printed = buffer.format(128u64); assert_eq!(printed, "128"); }