Package: debcargo
Control: affects -1 + dh-cargo src:rust-document-features debhelper

as of dh-cargo 30, dh-cargo Provides: dh-sequence-cargo.

the next version of debcargo should explicitly make the generated
debian/control contain "Build-Depends: dh-sequence-cargo".  If that's
done, then the generated debian/control does *not* also need to
explicitly Build-Depend on dh-cargo.

This lets us do things like automatically retain Cargo.toml.orig when
packaging crates (see https://bugs.debian.org/1023413).

I'm not entirely clear on the interactions between dh-sequence-foo and
dh --buildsystem foo, but it would be nice to be able to drop the
"--buildsystem foo" argument in debian/rules as well, to keep it as
minimal as possible.

Maybe it's possible that adding a Build-Depends on dh-sequence-cargo
would let us drop the --buildsystem flag as well -- i believe the B-D on
dh-sequence-cargo acts as an implicit "--with cargo" but i don't
understand how dh's --buildsystem arguments differ from its --with
arguments.

          --dkg

Attachment: signature.asc
Description: PGP signature

Reply via email to