I love this crate. We are using it for months now, just one thing kept bugging me: the usage of reqwest where most of their features are irrelevant to us in this context.
I threw together a quick test and here are the comparisons:
I build the example for comparison both using cargo b --release --example simple_sender.
using reqwest:
compilation units: 138
binary size: 5.5 MB
compile time: 2m 17s
using hyper:
compilation units: 114
binary size: 3.6 MB
compile time: 1m 42s
are you interested in a PR for this?
I love this crate. We are using it for months now, just one thing kept bugging me: the usage of
reqwestwhere most of their features are irrelevant to us in this context.I threw together a quick test and here are the comparisons:
I build the example for comparison both using
cargo b --release --example simple_sender.using reqwest:
compilation units: 138
binary size: 5.5 MB
compile time: 2m 17s
using hyper:
compilation units: 114
binary size: 3.6 MB
compile time: 1m 42s
are you interested in a PR for this?