Skip to content

switch to hyper? #24

Open
Open
@extrawurst

Description

@extrawurst

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions