[Pkg-rust-maintainers] Bug#1014613: debcargo: omit features declaratively

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jul 8 20:31:51 BST 2022


Package: debcargo
Version: 2.5.0-3+b3
Severity: wishlist

I'd like to be able to specify declaratively in debcargo.toml that a 
specific feature of the crate i'm packaging should be ignored.

i currently do this on a few different crates, because there are
features that either aren't relevant for debian, or because those
features require much more packaging work for dependencies and i'd
rather get the crate -- without that feature -- into debian before the
feature's dependencies are ready.

So i'm proposing new syntax in debcargo.toml:

   ignore_features = foo,bar

This would indicate that those features would not be packaged for debian
at all.

On IRC, f_g notes:

  >> question is whether to only remove them from d/control et al, or
  >> also automatically modify Cargo.toml to remove them there and make
  >> them practically unusable

I think a first pass at this would be simply to remove them from
d/control, and see what kinds of breakage we run into.

           --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20220708/6b0a3d76/attachment.sig>


More information about the Pkg-rust-maintainers mailing list