Open semtexzv opened 2 years ago
I do conquer!
It might be interesting to implement it so that the caller can inspect the chunk and its bytes, as to allow calculations to happen while streaming.
This would be super cool as well! I was just now trying to do it, but I also was not able to inspect percentage for file upload, and would get only a response once its finished via the Delegate
Trait.
I would gladly help: problem is I am bit new to rust, but not sure how difficult this would be to implement. Perhaps if you could help me with pointers or where to look/what to look out for, I could give it a try, and perhaps message if super confused :).
Btw: Very helpful and cool videos on your Learning Rust with Gitoxide
playlist. I have watched some of them and found them very helpful to improve my Rust:)
Thanks, it's good to hear these videos make a difference :).
As for learning Rust, this project probably isn't well suited as it's mostly python and a template language called 'mako', which generates all the Rust code. Working with it isn't terrible, but definitely more abstract than it should be for stepping into Rust. On top of that I am swamped and can't offer any mentoring. I will review PRs though in case you want to give it a shot anyway.
When working with large files, It'd be nice to be able to monitor the progress of upload/download. Adding a new method to delegate that would be called after every chunk with position in the stream.