a work in progress rust http daemon
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.org | ||
httpd
what is this
a HTTP server in rust
security measures have been implemented. documentation will be written soon (taking contrib! send patches: [[https://lists.git.coasteen.xyz/mainlist/][https://lists.git.coasteen.xyz/mainlist/])
tls has been implemented, but may not work as expected
there are TODOs in ./src/main.rs that i am going to work on
upcoming features
config files ssl generation disabling javascript from inside the server serving specific files only to disable access to the other
run:
httpd 127.0.0.1:port dir
example:
httpd 127.0.0.1:8080 htdocs/public/
dependencies
stated in ./Cargo.toml, it only depends on mime_guess.
build
cargo build --release
the binary will appear in ./target/release/httpd
build for openbsd
AWS_LC_SYS_NO_ASM=1 cargo build
for some reason you have to do this
license
the license can be viewed in ./LICENSE