18 releases (9 breaking)
Uses new Rust 2024
0.9.1 | Mar 22, 2025 |
---|---|
0.8.0 | Mar 21, 2025 |
#674 in Parser implementations
426 downloads per month
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
libalpm
updates, the program would need to be recompiled. And since Arch Linux is rolling release,libalpm
would 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
~0.8–6.5MB
~33K SLoC