New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Rust branch #133
base: main
Are you sure you want to change the base?
Add Rust branch #133
Conversation
Thanks for the PR. I will do it. In fact, I was about to announce this. Removing anytree and making ash more solid, cross-platform has been high on my priority list for the project. |
Good progress! |
If you look at the new code submissions recently, you might realize I'm slowly Good work! |
For now, I am unable to catch up with changes, but don't worry, I will add them to the code. |
I'll begin working on the cli, while also investigating and updating the code. |
Cargo.toml
Outdated
@@ -9,12 +9,13 @@ edition = "2021" | |||
name = "lib" | |||
path = "src/lib.rs" | |||
|
|||
[features] | |||
[features] #REVIEW | |||
#TODO add import & lock feature | |||
default = ["arch"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming this is meant for Arch Linux, is there a way to avoid mentioning it here (to make this file more generic)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just default value for compiler. It can be changed from cargo during build time, but I think I may change this.
I will begin adding auto-completion support for bash, fish, and zsh. |
Add support for apt and dnf should be the last task here. |
This is a rust code that is still being tested.
The goal is to follow the same approach that the Python code was written in order to have working rust code, and then to improve it.
I think the code can be improved in the future, like using libbtrfsutil, dropping python-anytree, and using the command line less.
The benefit from this is having a single executable binary file that can be easily packaged.