Public bug reported:

Tools such as cargo-vendor-filterer[1] can be used to automate the
repetitive and error-prone process of pruning unneeded vendored
dependencies from a package's orig tarball. However, it does this by
generating "stubs" of the pruned crates, or empty crates with a minimal
Cargo.toml allowing the package to compile.

Currently, dh-cargo-vendored-sources doesn't take into account the
presence of stubs, so it expects the stubs to be included in XS-
Vendored-Sources-Rust.

We must either modify dh-cargo-vendored-sources' behaviour to
accommodate stubbed crates, or devise a way to use crate stubs without
including them in XS-Vendored-Sources-Rust.

[1]: https://crates.io/crates/cargo-vendor-filterer/0.5.17

** Affects: dh-cargo (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2132361

Title:
  dh-cargo-vendored-sources includes vendored crate stubs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-cargo/+bug/2132361/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to