[Slackbuilds-users] Rust program packaging woes

fourtysixandtwo fourtysixandtwo at sliderr.net
Sat Dec 21 23:55:25 UTC 2024


Mr. Watson has already answered most of your questions so I will just
add my reasons for vendoring with my rust slackbuilds.

There are a couple of bash scripts around to do what your python
script does but I'm not a fan of doing it that way.  First of all, it
is very slow checking all those hashes and when you do a lot of build
testing, that is very annoying.  Second, if one does not use
cargo-vendor-filterer to create the list it includes a lot of useless
crates for windows or other architectures we don't support which
increases the download size by quite a bit.  So for me, vendoring
along with using cargo-vendor-filterer makes a lot more sense.  The
only problem is hosting those vendored sources somewhere that people
trust.

Note that I will eventually be creating a separate slackbuild for the
cargo-mkvendored.sh script I include with cargo-vendor-filterer as the
latter is included in -current.

Cheers


More information about the SlackBuilds-users mailing list