[Slackbuilds-users] rust and crates

Ιωάννης rizitis at gmail.com
Sat Oct 25 11:59:21 UTC 2025


thank you very much!
I want to create a SBo for
https://github.com/rust-secure-code/cargo-auditable if i have success
using your script I will push in SBo repo it else I will come back...

thanks again.

Στις Σάβ 25 Οκτ 2025 στις 1:25 μ.μ., ο/η fsLeg via SlackBuilds-users
<slackbuilds-users at slackbuilds.org> έγραψε:
>
> Direct dependencies are listed in Cargo.toml file. The entire dependency list is in Cargo.lock file. If the latter doesn't exist, it'll be created by cargo when you first build the project.
>
> If you're looking into vendoring the crates, look at cargo-vendor-filterer which is available on SBo. It calculates all dependencies and vendors necessary crates automatically while also filtering out crates for other platforms to reduce size.
>
> I also wrote a script to get all crates and do some work to prepare a rust-based SlackBuild to be published, although I later changed my approach and don't use that script anymore. But if I were to no longer have a place to host vendored tarballs I would return to using it. The script in question:
>
> https://gist.github.com/fsLeg/2f33cccbce9f3ae6af1a3f720f201cb0
>
> On October 25, 2025 13:15:51 GMT+03:00, "Ιωάννης" <rizitis at gmail.com> wrote:
> >Hello, I just want to ask if someone has a custom script to find
> >[dependencies] crates for build a rust package or you manually search
> >for them ?
> >
> >thank you.
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>


More information about the SlackBuilds-users mailing list