Hi Reinhard, Quoting Reinhard Tartler (2023-09-21 14:30:23) > Hey folks, I need help packaging axum. > > This package is a new dependency of https://github.com/hyperium/tonic, > which is needed by newer versions of netavark (which is the userspace > network stack for podman, the alternative to docker) > > I struggle with packaging this package because it consists of two crates > that depend on each other. Upstream uses a workspace build and publishes > all of them, that is, axum, axum-core and axum-macros at the same time. > Turns out that the debcargo-conf infrastructure is not suitable for > this. > > Can someone please give me a hand with packaging these three crates so > that they are built from a single debian source package?
Debcargo and the Debian wrapper for cargo support only single crates, not multi-crate workspaces. I use a fork of those helper tools that handles multi-crate workspaces, and a few other imrpovements: https://salsa.debian.org/build-common-team/dh-cargo-fork/-/tree/main/dh-cargo - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature