aboutsummaryrefslogtreecommitdiff
path: root/mingling_pathf/src/patterns/pack.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(pathf): enforce pedantic lints and update API ergonomics魏曹先生16 hours1-15/+12
| | | | | | | | | | - Add `#[must_use]` to public constructors and getters - Change `init_with_config` to accept `&PathfinderConfig` instead of owned value - Refactor `map_or_else` and `or_insert_with` for clippy compliance - Add `#![deny(clippy::pedantic)]` and `#![deny(clippy::nursery)]` - Document error cases in public API docs - Simplify duplicated dispatcher_clap analysis logic
* feat(pathf): add foreign item support with is_foreign flag魏曹先生2026-07-211-8/+2
| | | | | | | | | | 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魏曹先生2026-07-201-1/+4
|
* docs: add module-level documentation and improve doc comments魏曹先生2026-07-171-0/+4
|
* chore: run cargo fmt and rearrange re-exports in mingling魏曹先生2026-07-021-10/+12
|
* feat(pathf): add build-time type path resolution system魏曹先生2026-06-281-0/+103
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!()`.