-
Notifications
You must be signed in to change notification settings - Fork 118
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
RFC: Eliminate cargo-espflash
with the 3.0.0
release
#505
Comments
From a user perspective i mostly use My 2 cents from a developer standpoint to have only espflash: PRO:
CONTRA
|
Just chiming in that I don't mind either way. I'm using TIFO the cargo integration pulls in about a metric buttload of dependencies that I wouldn't mind if |
Yeah, this is a concern for me as well. Perhaps we can put With that said, I think it's important to find a balance; we have limited maintainers for the project, and we do provide pre-rcompiled binaries via our releases, so taking a bit longer to install from source may just need to be a trade-off we need to make. Thanks for your input! |
Also another foreshadowing, the current behavior of This feature parity problem could also surface on other features and we should think what overrule which ? |
As someone flashing ESP devices only from time to time, I really like Starting with this assumption, I considered |
Now that esp-rs/esp-idf-sys#264 is merged, we could try to detect if there is a On the downside, people may have a random bootloaders/partition table on the current folder, which may cause issues, but that should not be too common. Edit: We could also make |
Since I personally never used cargo-espflash I'm all fine with letting it go |
I do appreciate The An example of commands that I often run is:
and/or:
(Yes, we are a bit behind on upgrading our Rust toolchain! :) ) We had more difficulty calculating the path to the bootloader and partition table, since this build artifact is placed in a directory with a varying name: I hope you find this description of our use case helpful! We appreciate the work that has gone into maintaining both of these tools. |
Let me add a little detail to @kevin-june's comment about why we rely on Our project relies on |
Thanks for the additional input. There seems to be enough interest in |
Thanks for creating the RFC, just one last thing i want to sprinkle in. I think people would not be opposed of merging it, under the assumption that they don't loose any features they can do with |
For quite some time now, we have been maintaining a pair of applications,
cargo-espflash
andespflash
, with very similar functionality. However, this adds additional maintenance burden, and also is the reason for some of the more problematic parts of the code base, ie. thecli
feature/module.It should be possible to add Cargo integration to
espflash
in the same way that we are withcargo-espflash
; I don't believe there are any technical limitations preventing us from doing this, but I will obviously need to investigate a bit further. Between this functionality and Cargo Runners, I believe we can provide a similar experience tocargo-espflash
.Additionally,
espflash
has been downloaded significantly more times thancargo-espflash
(even factoring in the downloads as a library), which suggests that it is the more popular of the two applications.I would like to open a discussion regarding these changes, and determine whether or not this is a feasible (or desirable!) path forward.
The text was updated successfully, but these errors were encountered: