26 releases (16 breaking)
Uses new Rust 2024
| 0.17.1 | Apr 10, 2025 |
|---|---|
| 0.17.0 | Mar 3, 2025 |
| 0.16.0 | Jan 7, 2025 |
| 0.15.0 | Dec 19, 2024 |
| 0.6.1 | Nov 17, 2023 |
#542 in Compression
27 downloads per month
Used in 2 crates
(via libpfu-fixers)
20KB
418 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–25MB
~357K SLoC