Speed up build
It seems like the paru AUR package build slowly. First it has to update the entire crates.io index (about a minute), then apparently it has to build ~270 dependencies (a few minutes), and then finally it builds paru which also takes a long time (several minutes).
Is there some easy way to speed this up?
You can always use the official, prebuilt binary package: paru-bin.
You can also experiment with some compiler options, but I'm afraid they can only do so much. For example, this one disables LTO, use fewer code optimizations and increases build parallelization:
$ export RUSTFLAGS='-C opt-level=1 -C codegen-units=16 -C lto=no'
I'd just use the prebuilt package, though.
There's an issue about reducing deps. They're all blocked by other things though.
@guihkx Thanks for the suggestion -- I suppose just using the binaries is always an option. I was wondering if there's any possibility of improving the root cause though.
@Morganamilo Which issue is that?
https://github.com/Morganamilo/paru/issues/613