I'm looking to benchmark something in Rust, comparing it to Go. The Go implementation just uses the standard library for creating a basic http server that servers from json(fetched from a database).
I'd like to do something similar in Rust and compare performance.
Are there any simple implementations of http servers out there?
I need a basic functionality, i.e. make an endpoint(say /users/get
) that returns JSON parsed from a Vec<RustStruct>
.
Any good recommendations? I'd rather not fire up a whole big framework for it