Personal project 2023

HTTP server and library

Rust
HTTP
A tiny web server that can list files, written in Rust with minimal dependencies.

Features

Tiny HTTP server

While the main focus of this project was implementing HTTP 1.1 parser and serializer I made a simple server to verify that everything works as intended.

Tiny HTTP server

While the main focus of this project was implementing HTTP 1.1 parser and serializer I made a simple server to verify that everything works as intended.

Code highlights

Character arrays

Rust
Valid characters are stored in a small array, which allows for a fast, index-based lookup based on the ASCII code.

Character arrays

Rust
Valid characters are stored in a small array, which allows for a fast, index-based lookup based on the ASCII code.

Efficient processing

Rust
HTTP
The server pcoessees as little of the request as possible.

Efficient processing

Rust
HTTP
The server pcoessees as little of the request as possible.