<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mingling.git/mingling_macros/src/lib.rs, branch version/0.3.0</title>
<subtitle>用于开发多子命令的命令行框架
</subtitle>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/'/>
<entry>
<title>fix(docs): correct RenderResult usage examples to use mut binding and</title>
<updated>2026-07-11T07:00:44+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-11T07:00:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=356879cfd6149bdb235b4e02c0f351a4d2246202'/>
<id>356879cfd6149bdb235b4e02c0f351a4d2246202</id>
<content type='text'>
add Write import
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add Write import
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: require renderers to return RenderResult instead of mutating one</title>
<updated>2026-07-11T06:44:17+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-11T06:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=c5736152b0adeef17349265c4b9277ba17b8bcfd'/>
<id>c5736152b0adeef17349265c4b9277ba17b8bcfd</id>
<content type='text'>
BREAKING CHANGE: The `render` method on `Renderer`, `HelpRequest`, and
`ProgramCollect` now returns `RenderResult` instead of taking
`&amp;mut RenderResult`. The `r_print!` and `r_println!` macros have been
removed in favor of using `std::io::Write` directly on `RenderResult`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: The `render` method on `Renderer`, `HelpRequest`, and
`ProgramCollect` now returns `RenderResult` instead of taking
`&amp;mut RenderResult`. The `r_print!` and `r_println!` macros have been
removed in favor of using `std::io::Write` directly on `RenderResult`.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(macros): fix false positives in entry_has_variant substring matching</title>
<updated>2026-07-01T20:20:50+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-01T20:20:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=3f24e5b6ead1e153408ae5e58ad34636fe614645'/>
<id>3f24e5b6ead1e153408ae5e58ad34636fe614645</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(macros): pass pathf_map into dispatch tree generators</title>
<updated>2026-06-29T06:55:46+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-06-29T06:55:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=dc05173f3eafe0e782bc8824581c3819c8688782'/>
<id>dc05173f3eafe0e782bc8824581c3819c8688782</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(macros): add pathf type resolution for downcasts</title>
<updated>2026-06-29T06:31:52+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-06-29T06:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=e6c73a9cbe3bf9d19a6c66cd399c51f151447d75'/>
<id>e6c73a9cbe3bf9d19a6c66cd399c51f151447d75</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(macros): reorganize module structure and parse pathf include</title>
<updated>2026-06-29T05:02:56+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-06-29T05:02:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=2d2eef2770025b5fe7db3f1e36e2dc7daede16ca'/>
<id>2d2eef2770025b5fe7db3f1e36e2dc7daede16ca</id>
<content type='text'>
inline

Instead of using `include!` with generated paths, read the file at
compile time and parse it into a token stream during macro expansion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
inline

Instead of using `include!` with generated paths, read the file at
compile time and parse it into a token stream during macro expansion.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(pathf): add build-time type path resolution system</title>
<updated>2026-06-28T01:06:08+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-06-28T01:06:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=748c14588cf1c31c8b8d60a9c94349c0173ef607'/>
<id>748c14588cf1c31c8b8d60a9c94349c0173ef607</id>
<content type='text'>
Add `mingling_pathf` sub-crate and `pathf` feature for automatic
resolution of Mingling type module paths at build time. Scans source
files, identifies macro invocations via pattern matchers, and generates
mapping files consumed by `gen_program!()`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add `mingling_pathf` sub-crate and `pathf` feature for automatic
resolution of Mingling type module paths at build time. Scans source
files, identifies macro invocations via pattern matchers, and generates
mapping files consumed by `gen_program!()`.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(macros): add async mutable resource injection for `#[chain]`</title>
<updated>2026-06-27T09:46:29+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-06-27T09:46:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=4f7bd4f6fa5d27cfe703c54aa029a321f40d19fb'/>
<id>4f7bd4f6fa5d27cfe703c54aa029a321f40d19fb</id>
<content type='text'>
Support `&amp;mut T` resource parameters in async chain functions by using
an extract-store pattern that avoids holding mutable borrows across
await
points. Remove the previous compile-time rejection of this combination.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support `&amp;mut T` resource parameters in async chain functions by using
an extract-store pattern that avoids holding mutable borrows across
await
points. Remove the previous compile-time rejection of this combination.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(macros, docs): register structural macros and update feature table</title>
<updated>2026-06-26T03:49:35+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-06-26T03:49:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=e4287454b9d514b1fb5eacd755a32cf562458ae3'/>
<id>e4287454b9d514b1fb5eacd755a32cf562458ae3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(macros): Render ResultEmpty for non-structural types</title>
<updated>2026-06-25T23:22:38+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-06-25T23:22:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=30e8275059fc66ddc996513f60f536732378d6cf'/>
<id>30e8275059fc66ddc996513f60f536732378d6cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
