| Crates.io | nanoserve |
| lib.rs | nanoserve |
| version | 0.1.0 |
| created_at | 2025-11-24 05:17:28.960401+00 |
| updated_at | 2025-11-24 05:17:28.960401+00 |
| description | Ground-up implementation of a nano HTTP server from TCP sockets |
| homepage | |
| repository | https://github.com/PRO-2684/nanoserve |
| max_upload_size | |
| id | 1947406 |
| size | 43,953 |
[!NOTE] This is a toy project, primarily used as my handin for the course Computer Networks.
Nanoserve is a lightweight, educational HTTP/1.1 server implementation built using TCP sockets and modern Rust async I/O. It demonstrates HTTP protocol fundamentals, asynchronous networking, and systems programming best practices. This server supports core HTTP/1.1 features including GET requests, range requests (partial content), graceful shutdown, and efficient file serving.
binstallcargo binstall nanoserve
Navigate to the Releases page and download respective binary for your platform. Make sure to give it execute permissions.
cargo install nanoserve
TODO
TODO
HEAD and OPTIONS, returning file metadataContent-Length headerTODO