3fbf3040cdd4b685a9270c4d9cd165a6dd667147
This introduces a bit of complexity to the example, mainly the use of the try_continue! macro for dealing with errors, but I think this is an appropriate trade-off as users of this library are likely to be framework authors instead of end users.
hyper
An HTTP library for Rust.
Scientific* Benchmarks
running 3 tests
test bench_curl ... bench: 234539 ns/iter (+/- 22228)
test bench_http ... bench: 290370 ns/iter (+/- 69179)
test bench_hyper ... bench: 224482 ns/iter (+/- 95197)
test result: ok. 0 passed; 0 failed; 0 ignored; 3 measured
* No science was harmed in this benchmark.
License
Languages
Rust
94.5%
C
5.2%
Shell
0.3%