I made a mass depfiles conversion to a lot of packages a while ago, and
most of the changes were reverted in
https://github.com/gentoo/guru/pull/354
However, the depfiles in this ebuild went unnoticed by me, so the logic
was fixed: use CRATES instead of depfiles
I also added `RESTRICT="mirror"` which were recommended to me in the IRC
back when the discussion was made on my mass creation of depfiles, this
way, portage shouldn't check for a mirror each time for hundreds of rust
CRATES
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
This has the following upsides:
- fixes pkgcheck scan's `TooManyCrates` warning.
- becomes more easy to maintain since all it takes is a new vendor file
and bumping the ebuild.
- saves time for users. Portage doesn't try to download 500+ crates from
gentoo mirrors first then trying the crates.io links, instead, it just
downloads one singular vendor file
Signed-off-by: ingenarel <ingenarelitems@gmail.com>