It is Ubuntu-only - and this merge keeps it, unchanged. The dh-cargo-vendored-sources script is enabled when CARGO_VENDOR_DIR is set (you can see this on cargo.pm line 177 [1]), and its job is to check that the list of vendored crates matches the XS-Vendored-Sources-Rust manifest. This is to help comply with the MIR policy for Rust packages [2], which requires Rust packages in main to vendor their Rust dependencies instead of relying on individually packaged crates. Debian doesn't use this script because their crates-are-packages model doesn't need it.
This script was added a while ago, the merge just carries it forward. - [1]: https://git.launchpad.net/~ruancomelli/ubuntu/+source/dh-cargo/tree/cargo.pm?h=merge-lp2177235-tenacious&id=2dc8422be7784bd1aac9bc26186ecaf68580e6f7#n177 - [2]: https://ubuntu.com/project/docs/MIR/mir-rust/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2177235 Title: Please merge 34 into tenacious To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dh-cargo/+bug/2177235/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
