Skip to content

Simple repository for HTTP upload progress using rust, reqwest, actix, and indicatif

Notifications You must be signed in to change notification settings

gschoeni/RustHTTPUploadProgress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust HTTP upload with progress

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 and Run

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

About

Simple repository for HTTP upload progress using rust, reqwest, actix, and indicatif

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages