There is a lot of valuable code in warp::fs. I would really like a warp::reply::file(...) function or similar, that would essentially correspond to the private warp::filter::fs::file_reply() function. Also, it would maybe help with #526, if the warp::fs code would be more modular and more public. I tried to refactor it a bit, but my Rust/Async/Tokio skills are currently not up to this task.
Most helpful comment
There is a lot of valuable code in
warp::fs. I would really like awarp::reply::file(...)function or similar, that would essentially correspond to the privatewarp::filter::fs::file_reply()function. Also, it would maybe help with #526, if thewarp::fscode would be more modular and more public. I tried to refactor it a bit, but my Rust/Async/Tokio skills are currently not up to this task.