~aw/mygit#30: 
Be disciplined about imports

Audit and see if i can do limited feature sets for all my dependencies

Status
REPORTED
Submitter
~aw
Assigned to
No-one
Submitted
6 months ago
Updated
2 months ago
Labels
No labels applied.

Johann Galle 6 months ago · edit

I did this here: https://git.qwertqwefsday.eu/?p=mygit.git;a=commitdiff;h=4633c394e46247bc3d7b900c323741f6c91be311

I found that the anyhow crate could be removed completely and some features from other crates too. This reduces the dependency count from 289 to 279 crates. On my machine this reduced compilation time from 3m 40s to 3m 36s when compiling from scratch.

~aw 6 months ago

279 crates.. the rust ecosystem is wild

Alex

On Apr 3, 2021, at 5:35 AM, Johann Galle outgoing@sr.ht wrote:

I did this here: https://git.qwertqwefsday.eu/?p=mygit.git;a=commitdiff ;h=4633c394e46247bc3d7b900c323741f6c91be311

I found that the anyhow crate could be removed completely and some features from other crates too. This reduces the dependency count from 289 to 279 crates. On my machine this reduced compilation time from 3m 40s to 3m 36s when compiling from scratch.

-- View on the web: https://todo.sr.ht/~aw/mygit/30#event-78702

Johann Galle referenced this from #39 2 months ago

Register here or Log in to comment, or comment via email.