22 releases (13 breaking)
new 0.14.2 | Nov 21, 2024 |
---|---|
0.14.0 | Sep 25, 2024 |
0.7.2 | Mar 3, 2024 |
0.7.1 | Dec 5, 2023 |
0.6.1 | Nov 17, 2023 |
#508 in Filesystem
118 downloads per month
18KB
380 lines
oma-contents
The oma-contents
crate provides functionality to parse and search contents files from Debian repositories.
Modules
parser
: Functions for parsing lines from contents files, extracting file paths and associated packages.searcher
: Provides functions to search through contents files, supporting various compression formats and search modes.
Features
- Supports multiple compression formats: Zstandard (
.zst
), LZ4 (.lz4
), and Gzip (.gz
). - Provides multiple search modes:
Provides
: Search for packages that provide a specific file.Files
: Search for files provided by a specific package.ProvidesSrc
: Search source packages that provide a specific file.FilesSrc
: Search for files provided by a specific source package.BinProvides
: Search for binary packages that provide a specific file.BinFiles
: Search for files provided by a specific binary package.
- Utilizes parallel processing for efficient searching.
- Supports both ripgrep-based and pure Rust search implementations.
Dependencies
~11–22MB
~329K SLoC