14 releases
Uses new Rust 2024
| 0.1.9 | Oct 14, 2025 |
|---|---|
| 0.1.8 | Jun 14, 2025 |
| 0.1.8-pre1 | Mar 18, 2025 |
| 0.1.7 | Feb 5, 2025 |
| 0.1.5 | Nov 29, 2024 |
#1479 in Command line utilities
57KB
1K
SLoC
Features
nvchecker compatibility
check the release notes and configuration docs for compatibility updates and instructions.
Speed
| command | time per updated package | details |
|---|---|---|
nvrs |
~ 0.03s | API requests included depends on internet speed |
nvrs --cmp |
~ 0.0008s | depends on disk speed |
nvrs --take |
~ 0.001s | depends on disk speed |
Sources
aurcratesiogiteagithubgitlab(with custom hosts)website(regex)shell
QOL improvements
ALLargument for the--takecommand--no-failflag to prevent exiting on recoverable errors--nukecommand to delete packages from all files--list-sourcescommand to list all available sources
Installation
see the installation guide for instructions on how to install nvrs.
Usage
nvrs relies on a configuration file. see configuration.
the core commands are:
nvrs- fetches latest versions of defined packagesnvrs --cmp- compares newver with oldver and displays differencesnvrs --take- automatically updates oldver. takes in a comma-separated list of package names (ALLfor all packages)nvrs --nuke- deletes packages from all files. takes in a comma-separated list of names (yes, just like a hitman)- the
--no-failflag - as the name suggests, specifying this will make nvrs not exit on recoverable errors
Example usage
# download the example configuration file
curl -L 'https://github.com/adamperkowski/nvrs/raw/main/nvrs.toml' -o nvrs.toml
# fetch latest package versions (should return `NONE -> version` for all packages)
nvrs --no-fail
# compare them to latest known versions (should also return `NONE -> version`)
nvrs -c
# update the known versions
nvrs -t ALL
for all available commands, options and flags, see nvrs --help and the manual page.
Documentation
full documentation can be found at nvrs.adamperkowski.dev. nvrs library documentation can be found at docs.rs/nvrs
Contributing
if you want to contribute to the project, please read the Contributing Guidelines before doing so.
if you find any parts of the code or the documentation unclear, or have any suggestions, feel free to open an issue or a pull request.
Credits
Copyright (c) 2025 Adam Perkowski
see LICENSE
Dependencies
~10β29MB
~404K SLoC