Skip to content

Investigate build bloat #536

@dherman

Description

@dherman

A friend told me about this recent article on Rust build sizes, and specifically the article links to a useful tool: cargo-bloat.

We should use that tool to see if there are places we can reduce the binary size of Volta builds (and possibly the build times as a consequence).

One particular hint I got was that reqwest is an especially large library, and there are competitors like isahc that are considerably smaller. We'd have to investigate to see if it looks like a good tradeoff, though (in terms of feature set, quality, level of maintenance).

And generally let's keep our wits about us—smaller binary size is good, but not if it comes at too high of a cost. It's not the only goal.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions