Open Chaoses-Ib opened 4 days ago
I appreciate your interest in zip-extensions-rs
. The idea of adding new methods sounds promising for enhancing flexibility. To better understand your use case, could you provide more details on the specific features or behaviors you're looking for with these methods?
I’m open to collaboration on this, and if you have any implementation ideas, feel free to open a PR. It would be great to extend the functionality together. I'm looking forward to hearing your thoughts.
In our case, we want to pack some static files together with a dynamically generated file. I've already implemented this by copying and patching zip-extensions-rs‘ code, but I just found it uncomfortable that 90 lines of code are needed to just pack some files...
If I understand correctly, you already have code for your use case. If you think this could be interesting for others also, what´s hindering you from opening a PR?
create_from_directory()
can only add a single directory and thenfinish()
. Is it possible to add other methods likeadd_directory_recursive()
andadd_file()
to allow more flexible file selection?