Commit 3062015
committed
feat: implement dependency spec parsing module (Task 2.1.2)
- feat: add deps module with parse_dep_spec, parse_pacman_si_deps, and parse_pacman_si_conflicts functions
- feat: implement multi-line dependency parsing for pacman -Si output continuation lines
- feat: add dependency deduplication to return unique dependencies and conflicts
- feat: add helper function collect_continuation_lines for multi-line field parsing
- feat: add is_valid_package_token helper to filter invalid package names
- test: add 27 unit tests covering all parsing functions including edge cases and deduplication
- docs: update deps_types_example.rs to demonstrate new parsing functions with real pacman output
- docs: update DEPENDENCIES_MODULE_PHASE.md to mark Task 2.1.2 as complete
- change: remove i18n dependencies, use hardcoded English-only labels for pacman output parsing1 parent aa22bd6 commit 3062015
File tree
6 files changed
+1406
-37
lines changed- dev
- examples
- src
- deps
6 files changed
+1406
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
496 | 499 | | |
497 | 500 | | |
498 | 501 | | |
| |||
803 | 806 | | |
804 | 807 | | |
805 | 808 | | |
806 | | - | |
| 809 | + | |
807 | 810 | | |
808 | 811 | | |
809 | | - | |
| 812 | + | |
| 813 | + | |
810 | 814 | | |
811 | 815 | | |
812 | 816 | | |
| |||
0 commit comments