<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mingling.git/mingling/src/lib.rs, branch feat/picker2</title>
<subtitle>用于开发多子命令的命令行框架
</subtitle>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/'/>
<entry>
<title>feat(picker): add optional `core` feature with re-exports</title>
<updated>2026-07-14T11:10:15+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-14T11:10:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=538516a2104edba2c35b1f4ce40ec5a25589b62b'/>
<id>538516a2104edba2c35b1f4ce40ec5a25589b62b</id>
<content type='text'>
Define a `core` feature in mingling_picker that gates a new `corebind`
module and re-exports its contents. The module is propagated to the
upstream `mingling` crate under the same feature flag.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Define a `core` feature in mingling_picker that gates a new `corebind`
module and re-exports its contents. The module is propagated to the
upstream `mingling` crate under the same feature flag.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(mingling): make core and macros features optional</title>
<updated>2026-07-14T10:48:17+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-14T10:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=17e59392be8b08bc6e323551d2e4b12f770bfe88'/>
<id>17e59392be8b08bc6e323551d2e4b12f770bfe88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(mingling): add ParserStyle and re-export parselib module</title>
<updated>2026-07-14T10:23:45+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-14T10:23:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=e66b1335a22df2a9f9555e59e30200644bb3483f'/>
<id>e66b1335a22df2a9f9555e59e30200644bb3483f</id>
<content type='text'>
Add a configurable `ParserStyle` struct defining option prefix,
separator
and case-sensitivity conventions, with built-in constants for Unix,
PowerShell and Windows styles. Provide a one-time global style setter.

Re-export the new `parselib` module from `mingling_picker` and wire it
through `mingling`'s `picker` facade. Also relocate `Groupped` and
`RenderResult` re-exports in `prelude` for better ordering.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a configurable `ParserStyle` struct defining option prefix,
separator
and case-sensitivity conventions, with built-in constants for Unix,
PowerShell and Windows styles. Provide a one-time global style setter.

Re-export the new `parselib` module from `mingling_picker` and wire it
through `mingling`'s `picker` facade. Also relocate `Groupped` and
`RenderResult` re-exports in `prelude` for better ordering.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(picker): add core trait, types, and builder macro for argument</title>
<updated>2026-07-13T17:36:27+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-13T17:36:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=4665fc94ab9508d115298dd988e2381354f46c01'/>
<id>4665fc94ab9508d115298dd988e2381354f46c01</id>
<content type='text'>
parsing

Implement the foundational `mingling_picker` library along with its
companion
`mingling_picker_macros` crate. The picker provides:

- `Pickable` trait for parsing types from raw strings
- `PickerResult` enum modeling parse outcomes
- `Picker` struct for storing and indexing command-line arguments
- `PickerRequirement` struct for declarative parameter definitions
- `PickerPattern` family (1..32) of typed pattern structs via the
  `internal_repeat` proc macro
- `req!` proc macro as a succinct builder for `PickerRequirement`

Re-export `mingling_picker::macros::*` from the `mingling` crate when
the
`picker` feature is enabled, replacing the previous wildcard re-export
of
`mingling_macros`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
parsing

Implement the foundational `mingling_picker` library along with its
companion
`mingling_picker_macros` crate. The picker provides:

- `Pickable` trait for parsing types from raw strings
- `PickerResult` enum modeling parse outcomes
- `Picker` struct for storing and indexing command-line arguments
- `PickerRequirement` struct for declarative parameter definitions
- `PickerPattern` family (1..32) of typed pattern structs via the
  `internal_repeat` proc macro
- `req!` proc macro as a succinct builder for `PickerRequirement`

Re-export `mingling_picker::macros::*` from the `mingling` crate when
the
`picker` feature is enabled, replacing the previous wildcard re-export
of
`mingling_macros`.
</pre>
</div>
</content>
</entry>
<entry>
<title>style: Reorder imports and reformat code with cargo fmt</title>
<updated>2026-07-11T08:10:53+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-11T08:10:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=85c8986f26031cc11ed1e1da77fdf099b5814381'/>
<id>85c8986f26031cc11ed1e1da77fdf099b5814381</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(mingling): add Write import and doc comment for picker re-export</title>
<updated>2026-07-11T08:03:09+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-11T08:03:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=4bf23c20f2d7cdfcc988b654a93abae1cd211ad8'/>
<id>4bf23c20f2d7cdfcc988b654a93abae1cd211ad8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>feat: add mingling-picker and mingling-picker-macros crates</title>
<updated>2026-07-10T17:51:35+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-10T17:51:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=9245799135458d9afd5e779b6d061cee0962d585'/>
<id>9245799135458d9afd5e779b6d061cee0962d585</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: run cargo fmt and rearrange re-exports in mingling</title>
<updated>2026-07-01T20:22:30+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-07-01T20:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=8128f2c94313b2e9b9d0b5c3350623f77bbb2521'/>
<id>8128f2c94313b2e9b9d0b5c3350623f77bbb2521</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: improve documentation, mark internal items as `#[doc(hidden)]`</title>
<updated>2026-06-27T10:28:52+00:00</updated>
<author>
<name>魏曹先生</name>
<email>1992414357@qq.com</email>
</author>
<published>2026-06-27T10:28:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.catilgrass.cn/mingling.git/commit/?id=5a23e6b3ad655b15b412720ab81b0508866bebce'/>
<id>5a23e6b3ad655b15b412720ab81b0508866bebce</id>
<content type='text'>
Add module-level docs for the hook system, enhance doc examples for
macros
with usage syntax, fix typos in cross-references, and hide internal
debugging
macros and mock types from public documentation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add module-level docs for the hook system, enhance doc examples for
macros
with usage syntax, fix typos in cross-references, and hide internal
debugging
macros and mock types from public documentation
</pre>
</div>
</content>
</entry>
</feed>
