Closed gifnksm closed 2 years ago
Disabled some unused default features in the dependency crate. This change reduces the number of dependency crates and thus compile time.
Before this change:
$ rg -cF '[[package]]' Cargo.lock 223 $ cargo clean; time cargo build --release -q -j8 cargo build --release -q -j8 255.32s user 12.72s system 670% cpu 39.998 total
After this change:
$ rg -cF '[[package]]' Cargo.lock 97 $ cargo clean; time cargo build --release -q -j8 cargo build --release -q -j8 144.88s user 5.80s system 470% cpu 32.032 total
Disabled some unused default features in the dependency crate. This change reduces the number of dependency crates and thus compile time.
Before this change:
After this change: