4 releases
Uses old Rust 2015
0.1.3 | Feb 14, 2016 |
---|---|
0.1.2 | Jan 27, 2016 |
0.1.1 | Nov 15, 2015 |
0.1.0 | Nov 8, 2015 |
#421 in #static
7KB
52 lines
rstatic
Static file serve by Rust.
Build
git clone https://github.com/iorust/rstatic.git && cd rstatic && cargo build --release
Then exec file rstatic/target/release/rstatic
created.
if openssl-sys build error:
export OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include
Run
target/release/rstatic
More help:
target/release/rstatic --help
Dependencies
~8MB
~163K SLoC