22 releases (9 breaking)
Uses new Rust 2024
| 0.9.5 | Nov 1, 2025 |
|---|---|
| 0.9.2 | Aug 2, 2025 |
| 0.9.1 | Mar 22, 2025 |
#908 in Parser implementations
Used in arch-pkg-db
165KB
3.5K
SLoC
arch-pkg-text
Pure Rust library to parse Arch Linux packages' structured text formats. "Pure Rust" means not needing libalpm.
Why?
Relying on libalpm has 2 limitations:
- The program would only work on Arch Linux.
- Every time
libalpmupdates, the program would need to be recompiled. And since Arch Linux is rolling release,libalpmwould update frequently, forcing the program to recompile frequently.
This library aims to provide parsers for packaging related structured text formats without the above limitations.
Usage
Read the documentation.
License
Dependencies
~1–1.8MB
~33K SLoC