Skip to content

dafaqdhruv/little-rusty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

little-rusty

HTTP server built using Rust.

Limited implementation of RFC2616 14.35.1, just enough so that "wget -c" works. You can resume paused downloads.

How to build

  • Clone the repo:

    git clone git@github.com:dafaqdhruv/little-rusty.git && cd little-rusty
  • Build binary:

    cargo build

    or, to build in release mode:

    cargo build --release

Usage

  • In target directory:

    ./path/to/binary [port]

    [port] The TCP port number to listen on. Default is 8990. Incoming requests are manually logged to stdout. Verbose logging will be added in future.

  • Send ctrl+c (SIGINT) to kill server

About

A bare-boned HTTP file server written in Rust

Resources

Stars

Watchers

Forks

Languages