2 releases
0.1.1 | May 26, 2020 |
---|---|
0.1.0 | May 26, 2020 |
#1416 in HTTP server
29KB
245 lines
rossa
Attempt to create file server like SimpleHTTPServer in Rust. Also inspired by gossa.
Installation
cargo install rossa
Usage
rossa
To use with custom host and port
rossa -a <host>:<port>
Example
rossa -a 127.0.0.1:3333
In Action
Inspired By
Technologies Used
Technology | Purpose |
---|---|
warp |
Web Framework |
tokio |
Async fs |
tera |
Templating |
clap |
CLI Interface |
rand |
To generate random files prefix |
rust-embed |
To embed assets and templates into single binary |
Dependencies
~23–35MB
~542K SLoC