-21
Wid: My package manager project
(github.com)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Some feedback:
You have effectively hardcoded the list of software you support, ideally you should be able to dynamically update the list, otherwise you have no way to revoke or update versions if required. And if its hardcoded, why bother network requesting for it, just build it into the binary. Would be a little larger binary, but even faster.
Meaningless, there is no dependency resolution because thats done for you by the installers.
The task you are doing is entirely IO bound, rusts performance is irrelevant.
Actually, I have a Gist for this that you can use. I update the Gist from time to time. In fact, the
sources.listfile can be customized specifically.The point is that you pinned a specific commit instead of a branch like
mainAnd yeah calling dependency resolution fragile is weird. It is not an actual package manager, just a download tool.
I already use tags for releases. The commit hash is for development. You can check the releases page.