17 releases (9 breaking)
Uses new Rust 2024
new 0.9.0 | Mar 21, 2025 |
---|---|
0.7.3 | Mar 1, 2025 |
#2 in #desc
1,029 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–6MB
~34K SLoC