Skip to content

Tom01098/codecrafters-http-server-rust

Repository files navigation

CodeCrafters HTTP Server in Rust

A simple HTTP server built for the CodeCrafters HTTP Server challenge.

Split into two crates:

  • server: A library for running a generic HTTP server.
  • codecrafters-http-server: The application code, implementing only the specific endpoints required for the challenge.

The server package (while definitely not a production-ready server, and never will be!) supports:

  • Templated path routing
    • Returns a 404 if not found
    • Returns a 405 if found, but method doesn't match
  • Reading request headers, body, path, method
  • Simple builder for creating an HTTP response
  • Concurrent requests
  • Response gzip compression

About

A simple HTTP server built for the CodeCrafters HTTP Server challenge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •