A Rust web service framework with (almost) no dependencies. Also includes a poorly tested, non-spec compliant development HTTP server.
I wrote this as a Rust learning project, this is not in any way production-tested.
api_service.rs is a heavily commented example service which showcases most of the features of the library.
cargo doc --opencargo run --example file_service -- -vvd examples/html --threads 8curl http://localhost:8080/index.htmlcargo run --example api_service -- -vvcurl -v -H 'X-Api-Key: secret' -H 'Content-Type: application/json' -d '{"name": "John Smith", "age": 42}' 'http://localhost:8080/person/'
curl -v -H 'X-Api-Key: secret' 'http://localhost:8080/person/1'