In this series, we are creating a basic static HTTP 1.0 server with Rust. If you haven’t seen Part 1 yet, go do that first. At the end of Part 2, our server will do the following:
Continue reading Creating a Static HTTP Server with Rust – Part 2
- Read and serve files from a predefined directory on the host server
- Generate appropriate HTTP responses to incoming requests
- Log information about the response to standard output
In this series, we will create a basic static HTTP 1.0 server with Rust. At the end of Part 1 of this tutorial, our server will do the following:
- Listen for and handle TCP connections on a specific port
- Accept HTTP 1.0 GET requests
- Parse and validate requests for further use
- Log incoming requests
We will avoid using libraries that make this trivial (i.e. the
Continue reading Creating a Static HTTP Server with Rust – Part 1
http crate) and focus on the fundamentals of how a server works. Let’s get started.
This past week, I started learning Rust. While I have enjoyed learning about Rust’s clever approach to system programming, I have to say that I found its dependency management a bit confusing at first. Today, I will share my new understanding of this with you, whether you are a new, experienced, or aspiring Rustacean.
Continue reading Rust Dependency Management with Cargo