- pointer types can be formatted with
%p
in the same way asusize
(PR #9, thanks to Flávio J. Saraiva (flaviojs))
- More standard string and character types (PR #7, thanks to Flávio J. Saraiva (flaviojs))
- Support
CString
and&CStr
for%s
, assuming the're UTF-8 encoded - Support
u8
andi8
(ASCII),u16
(UCS-2) andu32
(UCS-4) for%c
- Support
- Fix accidental backwards-incompatible API change in v0.2.0
- Expose the some of the
sprintf::parser
module in the API to allow other to use theparse_format_string
function (PR #5, thanks to David Alexander Bjerremose (DaBs)) PrintfError
now implementsstd::error::Error
- Fix parsing of
ll
length specifier (PR #4, thanks to Ido Yariv (codido))
- Fix float rounding: 9.99 should round to 10.0, not 9.0. (Issue #2, thanks to Nicholas Ritchie)
- Fix formatting of large floats (PR #1, thanks to Kuba (pierd)
- Fix bug in padding of fixed-width fields
- Initial release