#binary #format #size #escaping #parse #ultimate #segment

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

#28 in #ultimate

Download history 3/week @ 2024-02-19 7/week @ 2024-02-26 4/week @ 2024-03-11 46/week @ 2024-04-01 6/week @ 2024-04-15 7/week @ 2024-04-22

59 downloads per month
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
~35K SLoC