#web-server #file-server #dead #http #http-file

app dsfs

Dead Simple File Server -- The missing Rust development web server

3 releases

0.0.3 Aug 6, 2021
0.0.2 Jul 23, 2021
0.0.1 Jul 23, 2021

#1278 in HTTP server

Download history 11/week @ 2024-02-20 12/week @ 2024-03-26 45/week @ 2024-04-02

57 downloads per month

Unlicense

10KB

dsfs -- Dead Simple File Server

Someone recently complained to me that there is no1 simple cli http2 file server for testing (and such) that you can just crate install.

But it made me wonder if there is no such thing (apparently) in crates.io because it is "too obvious"... or "in the way" or...? Does not Rust need a good local development web server?

I think finding a reasonable, obvious http file server in Crates is something the Rust ecosystem should have. If you are an experienced Rust developer, this utility is dead obvious.

But, if you are having fun checking out Rust, you might want to, say, serve a dead simple WASM project locally without installing Node(!!!)

There are two dependencies and a handful of Rust code. Showing what a healthy ecosystem Rust has. And it's very easy to understand. And it uses an immensely popular crate that has a very nice tinkering/tinkering ratio, helping with on-boarding.


1: Granted, I did not look very hard. Relax. 2: Actually, the request was for http/2. Working on it. Maybe.

Dependencies

~10–20MB
~283K SLoC