Hi, you are welcome to package the below dependencies as part of the Rust team. All our packaging is in one repo:
https://salsa.debian.org/rust-team/debcargo-conf/ It should be possible to use dh-cargo in librsvg's build, you might have to call it using something like: override_dh_auto_install: # other stuff dh_auto_install -S cargo -D <path/to/crate/src> Done this way, it will also omit `cargo test` so you don't have to worry about dev-dependencies. If you want to run those as well then you'll need to package them, and then add: override_dh_auto_test: # other stuff dh_auto_test -S cargo -D <path/to/crate/src> -- test Note that without the "test" at the end dh-cargo will only run a *cargo build*, this is by design, see https://salsa.debian.org/rust-team/debcargo/issues/15 for details. Please feel free to ask any other questions. X On Thu, 30 Aug 2018 11:38:09 +0100 Simon McVittie <[email protected]> wrote: > Source: librsvg > Version: 2.44.1-1 > Severity: normal > Tags: help > > librsvg contains "vendored" copies of various Rust libraries. Ideally > we would use the vendored copy or the system copy of each library, > whichever is (compatible and) newer, but I don't know enough Rust to > know how to do that (and set the right Built-Using) for a package that > is not built with dh-cargo. > > We can't use dh-cargo because the Rust code here is only part of a larger > package that uses an Autotools build system. > > Some of the vendored libraries are available in Debian, others are not: > > [x] aho-corasick > [ ] alga > [x] ansi_term > [ ] approx > [x] arrayvec > [x] atty > [ ] backtrace > [ ] backtrace-sys (in NEW) > [x] bitflags > [ ] bitflags-0.9.1 > [x] byteorder > [ ] c_vec > [ ] cairo-rs > [ ] cairo-sys-rs > [ ] cast > [x] cc > [ ] cfg-if > [x] chrono > [x] clap > [x] cloudabi > [ ] criterion > [ ] criterion-plot > [ ] criterion-stats > [ ] crossbeam-deque > [x] crossbeam-epoch > [x] crossbeam-utils > [ ] cssparser > [ ] cssparser-macros > [x] csv > [x] csv-core > [ ] downcast-rs > [x] dtoa > [ ] dtoa-short > [x] either > [ ] failure > [x] failure_derive > [ ] float-cmp > [x] fuchsia-zircon > [x] fuchsia-zircon-sys > [x] generic-array > [ ] glib > [ ] glib-sys > [ ] gobject-sys > [ ] handlebars -- GPG: ed25519/56034877E1F87C35 GPG: rsa4096/1318EFAC5FBBDBCE https://github.com/infinity0/pubkeys.git

