-
Notifications
You must be signed in to change notification settings - Fork 321
Open
Labels
Description
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.
chriskrycho, probil and joshuarli