aboutsummaryrefslogtreecommitdiff
path: root/mingling_pathf/src
Commit message (Collapse)AuthorAgeFilesLines
* feat(pathf): add foreign item support with is_foreign flag魏曹先生24 hours12-115/+194
| | | | | | | | | | Add `AnalyzeItem::foreign()` and `AnalyzeItem::local()` constructors to distinguish items resolved via `use` imports from local definitions. Update `GroupPattern` to collect use imports at file and module levels, resolving `group!(TypeName)` against them. Migrate all pattern implementations to use the new constructors, and adjust `type_mapping_builder` to skip the file's own module prefix for foreign items.
* fix(patterns): broaden pattern detection to cover both bracketed forms魏曹先生37 hours5-5/+8
|
* chore: add missing docs lint and document public API魏曹先生39 hours5-2/+31
| | | | | | | Add `#![deny(missing_docs)]` across multiple crates and fill in documentation for all public items, including struct fields, enum variants, trait methods, and proc macros. Also mark two shell scripts as executable.
* fix!: rename `Groupped` to `Grouped` across the codebase魏曹先生3 days3-20/+20
|
* docs: add module-level documentation and improve doc comments魏曹先生5 days17-0/+101
|
* chore: run cargo fmt and rearrange re-exports in mingling魏曹先生2026-07-028-56/+47
|
* fix: parse grouped derive attributes for enums and unions correctly魏曹先生2026-06-301-25/+28
| | | | | | Use `parse_args_with` with `Punctuated<Path, Comma>` to correctly identify `Groupped` and `GrouppedSerialize` derive macros, fixing a bug where enums and unions were not properly detected
* fix(dispatcher_clap): support dispatch tree pattern detection魏曹先生2026-06-302-9/+44
|
* fix(mingling_pathf): extract CMD, error, and help types from魏曹先生2026-06-301-16/+181
| | | | dispatcher_clap
* feat(pathf): add dispatch tree config and pass feature to analyzer魏曹先生2026-06-295-120/+191
| | | | | | | | Add `PathfinderConfig` struct to control dispatch tree extraction, and wire `use_dispatch_tree` through `DispatcherPattern`, `init_with_config`, and `analyze_and_build_type_mapping_for`. Expose config and wrapper from `mingling_core` under the `pathf` feature.
* refactor: simplify match arm syntax in grouped derive pattern魏曹先生2026-06-291-9/+6
|
* fix(dispatcher): use full command name for entry generation魏曹先生2026-06-291-2/+1
|
* feat(pathf): add build-time type path resolution system魏曹先生2026-06-2813-3/+891
| | | | | | | 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!()`.
* feat(mingling_pathf): add pattern analyzer module for struct detection魏曹先生2026-06-284-3/+194
| | | | | | Add a `PatternAnalyzer` with an `AnalyzePattern` trait to detect and extract struct declarations from Rust source files, supporting nested inline modules.
* feat(mingling_pathf): add module path resolution and error handling魏曹先生2026-06-284-0/+465
| | | | | | | Introduce the core pathfinding infrastructure with `ModulePathMapping`, `MappingItem`, and `MinglingPathfinderError` types. Support recursive module traversal, `pub use` re-export hoisting, and standard Rust module resolution rules.
* feat(workspace): add mingling_pathf crate and pathf feature魏曹先生2026-06-281-0/+0