Skip to content

Releases: tjol/sprintf-rs

v0.4.3

07 Oct 19:13

Choose a tag to compare

https://crates.io/crates/sprintf/0.4.3
https://docs.rs/sprintf/0.4.3/sprintf/

v0.4.2

17 May 18:45

Choose a tag to compare

https://crates.io/crates/sprintf/0.4.2
https://docs.rs/sprintf/0.4.2/sprintf/

v0.4.1

30 Apr 18:35

Choose a tag to compare

https://crates.io/crates/sprintf/0.4.1
https://docs.rs/sprintf/0.4.1/sprintf/

v0.4.0

05 Dec 20:24

Choose a tag to compare

  • FormatElement now borrows a &str instead of owning a String, leading to fewer allocations and a significant performance improvement (PR #10, thanks to Samuel Collins (sd-collins)).
    • this is a breaking API change to the lower-level v0.2 API
    • the original and primary (v0.1) API is unchanged

https://crates.io/crates/sprintf/0.4.0
https://docs.rs/sprintf/0.4.0/sprintf/

v0.3.1

14 Jul 16:51

Choose a tag to compare

  • pointer types can be formatted with %p in the same way as usize (PR #9, thanks to Flávio J. Saraiva (@flaviojs)

https://crates.io/crates/sprintf/0.3.1
https://docs.rs/sprintf/0.3.1/sprintf/

v0.3.0

31 May 18:35

Choose a tag to compare

  • 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 and i8 (ASCII), u16 (UCS-2) and u32 (UCS-4) for %c

https://crates.io/crates/sprintf/0.3.0
https://docs.rs/sprintf/0.3.0/sprintf/

v0.2.1

12 Feb 19:30

Choose a tag to compare

Minor API changes:

https://crates.io/crates/sprintf/0.2.1
https://docs.rs/sprintf/0.2.1/sprintf/

v0.1.4

10 Sep 05:25

Choose a tag to compare

Bugfix release: fix rounding ll width specifier (PR #4, thanks to @codido)

https://crates.io/crates/sprintf/0.1.4
https://docs.rs/sprintf/0.1.4/sprintf/

v0.1.3

23 Sep 18:13

Choose a tag to compare

v0.1.2

06 Nov 13:51

Choose a tag to compare

Bugfix release: fix formatting of large floats (PR #1, thanks to @pierd)

https://crates.io/crates/sprintf/0.1.2
https://docs.rs/sprintf/0.1.2/sprintf/