This example uses reqwest and indicatif to upload binary data to an actix-web server with progress. Building the project will result in two binaries, one for the client and one for the server.
Build the binaries with cargo
cargo build
Run the server
$ ./target/debug/upload-server
Server running on 0.0.0.0:3030 🚀
Run the client on a decent sized file and watch the progress bar cruise.
./target/debug/upload-client upload ~/Downloads/archive.zip