nanoserve

Crates.ionanoserve
lib.rsnanoserve
version0.1.0
created_at2025-11-24 05:17:28.960401+00
updated_at2025-11-24 05:17:28.960401+00
descriptionGround-up implementation of a nano HTTP server from TCP sockets
homepage
repositoryhttps://github.com/PRO-2684/nanoserve
max_upload_size
id1947406
size43,953
PRO (PRO-2684)

documentation

README

nanoserve

GitHub License GitHub Workflow Status GitHub Release GitHub Downloads (all assets, all releases) Crates.io Version Crates.io Total Downloads docs.rs

[!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.

📥 Installation

Using binstall

cargo binstall nanoserve

Downloading from Releases

Navigate to the Releases page and download respective binary for your platform. Make sure to give it execute permissions.

Compiling from Source

cargo install nanoserve

💡 Examples

TODO

📖 Usage

TODO

✅ TODO

  • Accept HEAD and OPTIONS, returning file metadata
  • Content-Length header

🎉 Credits

TODO

Commit count: 0

cargo fmt