#format #binary #size #parse #escaping #output #reduce

macro cfmt-macros

Format output without Rust code segment in binary to reduce the ultimate binary size

3 unstable releases

0.2.1 Mar 2, 2023
0.2.0 Feb 1, 2023
0.1.0 Feb 1, 2023

#47 in #reduce


Used in orion_cfmt

MIT/Apache

15KB
358 lines

cfmt-macros To parse format strings, parse/unescape from ufmt are reused here.

实现过程参考了UFMT的实现,重用了其部分代码,parse/unescape,涉及到格式化字符串的解析

Dependencies

~1.5MB
~37K SLoC