#proc-macro

macro aformat-macros

Internal proc-macro crate for aformat

7 releases

0.1.6 Oct 6, 2024
0.1.5 Sep 1, 2024
0.1.3 Jun 15, 2024

#1110 in #proc-macro

Download history 30/week @ 2024-07-03 112/week @ 2024-07-10 106/week @ 2024-07-17 159/week @ 2024-07-24 186/week @ 2024-07-31 194/week @ 2024-08-07 151/week @ 2024-08-14 187/week @ 2024-08-21 341/week @ 2024-08-28 270/week @ 2024-09-04 209/week @ 2024-09-11 141/week @ 2024-09-18 106/week @ 2024-09-25 399/week @ 2024-10-02 145/week @ 2024-10-09 197/week @ 2024-10-16

859 downloads per month
Used in aformat

MIT license

14KB
267 lines

aformat

A no-std and no-alloc version of format! using ToArrayString.

Read the documentation via cargo doc --open --no-deps or on docs.rs.

Minimum Supported Rust Version

This is currently 1.79, and is considered a breaking change to increase.

Credits

  • @danielhenrymantilla, aka yandros, for providing much of the tricks needed to implement this on stable.
  • Everyone who has contributed to typenum, again for stable compatiblity.
  • The rustc developers, who unknowingly stablized enough features for this to work.

Dependencies

~0.4–0.9MB
~20K SLoC