On Sun, 05 Oct 2025 13:11, Moritz Bauer <moritz.bauer.06@gmx.de> wrote:
>Dear Rust Packaging Team,
>
>I am working on packaging onefetch (2.25.0).
>
>onefetch has a dependency on tokei which is available in Debian at version 12.1.2. However onefetch depends on version 13.0.0-alpha.8 which is not only a new major version but also a pre-release version (stable 13.0.0 does not exist yet).
>How should I deal with that? Or does this mean that onefetch can not be packaged until tokei 13.0.0 is released and onefetch depends on that instead?
>
>Thanks in advance!
>
>
>Regards,
>Moritz
>
Hi Moritz,
you can try to relax the dependency on tokei by adding a patch that
downgrades it to 12.x. If that does not work because of an abi bump,
then you'll need to package the prerelease version of tokei. From a
quick search tokei has no reverse dependencies, so this can just be
updated standalone.
I would advise to try patching and building with 12.x; and then updating
all to 13.x if that is released. Feel free to ask here or on
#debian-rust IRC if you need the beta version.
best,
werdahias