Update readme
This commit is contained in:
parent
1a5cee437c
commit
91fee3387a
1 changed files with 1 additions and 14 deletions
15
README.md
15
README.md
|
@ -1,12 +1,8 @@
|
||||||
[](https://github.com/gdamjan/http-server-rs/actions/)
|
|
||||||
|
|
||||||
A simple http server like `python -m http.server` but:
|
A simple http server like `python -m http.server` but:
|
||||||
|
|
||||||
* written in rust with actix, should be faster
|
* written in rust with actix, should be faster
|
||||||
* allow concurrency
|
* allow concurrency
|
||||||
* download whole directories in .tar format
|
|
||||||
* fancier directory listing
|
* fancier directory listing
|
||||||
* maybe announce itself on mDNS (avahi)
|
|
||||||
|
|
||||||
```
|
```
|
||||||
USAGE:
|
USAGE:
|
||||||
|
@ -24,17 +20,8 @@ ARGS:
|
||||||
<PORT> Specify alternate port [default: 8000]
|
<PORT> Specify alternate port [default: 8000]
|
||||||
```
|
```
|
||||||
|
|
||||||
## FAQ
|
|
||||||
|
|
||||||
* Q: why .tar and not .zip? A: ~you can't stream a zip file efficiently, it needs to seek and write to the beggining of a file.~ will see.
|
|
||||||
|
|
||||||
|
|
||||||
## Release builds
|
## Release builds
|
||||||
```
|
```
|
||||||
cargo build --release
|
cargo build --release
|
||||||
strip --strip-unneeded ./target/release/http-server
|
strip --strip-unneeded ./target/release/http-server
|
||||||
```
|
```
|
||||||
|
|
||||||
## See also:
|
|
||||||
|
|
||||||
* https://github.com/svenstaro/miniserve
|
|
Loading…
Add table
Reference in a new issue