FormatElement
now borrows a&str
instead of owning aString
, leading to fewer allocations and a significant performance improvement (PR #10, thanks to Samuel Collins (Humandoodlebug)).- 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/