[Slackbuilds-users] rust and crates
Ιωάννης
rizitis at gmail.com
Sat Oct 25 14:00:56 UTC 2025
Your script is amazing exactly what i needed!
It makes slackware life easier. I also copied some parts of your
script direclty in slackbuild and in 15 minutes I had a valid SBo
SlackBuild for slackware-current that builds and works fine.
But it's not building in slackware 15.0 because cargo is too old...
same issues like python , glibc etc...
I spent 1 hour patching for slackware 15.0 with no success and I gave
up, so no SBo for this.
Its here if someone need it for current
https://github.com/rizitis/cargo-auditable/tree/main/SlackBuild
regards!
Στις Σάβ 25 Οκτ 2025 στις 2:59 μ.μ., ο/η Ιωάννης <rizitis at gmail.com> έγραψε:
>
> 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