<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mingling.git/mingling_macros/src/attr/chain.rs, branch main</title>
<subtitle>用于开发多子命令的命令行框架
</subtitle>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/'/>
<entry>
<title>refactor(chain): replace Into turbofish with Routable::to_chain</title>
<updated>2026-07-20T22:37:21+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-20T22:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=8a230bd93b4801cc9001d0611ade16261e4f0cc4'/>
<id>8a230bd93b4801cc9001d0611ade16261e4f0cc4</id>
<content type='text'>
Remove the `origin_return_type` parameter and replace the generic `Into`
conversion with a direct call to `Routable::&lt;#program_type&gt;::to_chain`.
For non-unit returns, also wrap the function call expression in
`to_chain()` upfront to satisfy the `ChainProcess&lt;C&gt;` requirement of
`__modify_res_and_return_route`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the `origin_return_type` parameter and replace the generic `Into`
conversion with a direct call to `Routable::&lt;#program_type&gt;::to_chain`.
For non-unit returns, also wrap the function call expression in
`to_chain()` upfront to satisfy the `ChainProcess&lt;C&gt;` requirement of
`__modify_res_and_return_route`.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(macros): preserve user function as standalone item in codegen</title>
<updated>2026-07-20T00:13:49+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-20T00:13:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=9dc737acec1eab40ef65bef8e6c729a4e5e06401'/>
<id>9dc737acec1eab40ef65bef8e6c729a4e5e06401</id>
<content type='text'>
Refactor #[chain], #[renderer], #[help], and #[completion] macros to
keep
the original user function as a named item instead of inlining its body.
Trait method implementations now call the original function by name,
injecting resources from the application context.

This improves debugging (stack traces reference user function names),
error messages, and macro expansion clarity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactor #[chain], #[renderer], #[help], and #[completion] macros to
keep
the original user function as a named item instead of inlining its body.
Trait method implementations now call the original function by name,
injecting resources from the application context.

This improves debugging (stack traces reference user function names),
error messages, and macro expansion clarity.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(core)!: remove `to_chain` and `to_render` from `Grouped` trait</title>
<updated>2026-07-19T20:57:57+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-19T20:57:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=34c4c66c1d336469e71fad8cff4828cf5d2bdafb'/>
<id>34c4c66c1d336469e71fad8cff4828cf5d2bdafb</id>
<content type='text'>
Move routing methods exclusively to the `Routable` trait and update
all macro-generated code to reference `Routable` instead of `Grouped`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move routing methods exclusively to the `Routable` trait and update
all macro-generated code to reference `Routable` instead of `Grouped`
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(macros): reorganize module hierarchy in mingling_macros</title>
<updated>2026-07-19T17:01:27+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-19T16:59:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=1f583f625a7d541dc7d47a8136b31d29a5ed5441'/>
<id>1f583f625a7d541dc7d47a8136b31d29a5ed5441</id>
<content type='text'>
Restructure flat module layout into logical directories (attr/, derive/,
func/, systems/, extensions/, utils.rs). Tighten internal function
visibility to pub(crate). All public API signatures remain unchanged.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Restructure flat module layout into logical directories (attr/, derive/,
func/, systems/, extensions/, utils.rs). Tighten internal function
visibility to pub(crate). All public API signatures remain unchanged.
</pre>
</div>
</content>
</entry>
</feed>
