October 2019
Intermediate to advanced
444 pages
10h 37m
English
Let's set up a Rust binary project using cargo new static-web. Since we are going to serve stuff on local port 8081, make sure that the port is accessible as well. Inside the newly created project folder, we need an additional folder, static/, where you can put an interesting .jpg image and serve it. We are going to assume that this image is called foxes.jpg.
Finally, open the entire directory with VS Code.
Read now
Unlock full access