rust-cargo-udeps 0.1.61-1
Package Information
| Description | Find unused dependencies in Cargo.toml - Rust source code Source code for Debianized Rust crate "cargo-udeps" |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | Simon Quigley <tsimonq2@debian.org> |
| Sponsor | tsimonq2@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/cargo-udeps] (browse) |
| Tracker | https://tracker.debian.org/pkg/rust-cargo-udeps |
| Uploaded | 6 hours ago |
New Package Report
.changes
| Version | 0.1.61-1 |
|---|---|
| Changed-By | Simon Quigley <tsimonq2@debian.org> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Sun, 15 Nov 2026 14:08:49 -0600 |
| Source | rust-cargo-udeps |
Changelog
rust-cargo-udeps (0.1.61-1) unstable; urgency=medium . [ Jelmer Vernooij ] * Package cargo-udeps 0.1.61 from crates.io using debcargo 2.8.4 . [ Simon Quigley ] * Drop vendored libgit2 and OpenSSL; cargo does not provide them. * Use the system rustc when rustup is absent. * Allow -Z binary-dep-depinfo on the Debian rustc. * Skip tests whose fixtures are not in Debian. * Install if_chain, maplit, and matches for the ignore tests.
.dsc
| Section | utils |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | cargo-udeps deb utils optional arch=any librust-cargo-udeps-dev deb rust optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: cargo-udeps Upstream-Contact: est31 <MTest31@outlook.com> Ryo Yamashita <qryxip@gmail.com> Source: https://github.com/est31/cargo-udeps Files: * Copyright: 2019 est31 <MTest31@outlook.com> and contributors License: Expat or Apache-2.0 Files: debian/* Copyright: 2025-2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> 2025-2026 Jelmer Vernooij <jelmer@debian.org> License: Expat or Apache-2.0 License: Apache-2.0 Debian systems provide the Apache 2.0 license in /usr/share/common-licenses/Apache-2.0 License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 2 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 5 hours ago.
Report
DFSG NEW review for rust-cargo-udeps version 0.1.61-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The source is dual-licensed MIT OR Apache-2.0, matching the full MIT and Apache-2.0 texts in LICENSE and Cargo.toml's license = "MIT OR Apache-2.0"; debian/copyright reproduces the MIT (Expat) text, points to /usr/share/common-licenses/Apache-2.0, and its Files: * stanza reproduces the only copyright notice in the tree. No non-free terms, no unlicensed files, and nothing is compiled in without a licence. One minor gap: the Files: debian/* stanza omits Simon Quigley, whom the shipped debcargo hint names as a holder of the Debian packaging and who authored three of the patches.
Packaging
Standard debcargo/debhelper packaging: compat 13 with dh-sequence-cargo and dh $@ --buildsystem cargo, sensible binary/lib split with Multi-Arch, relationship substvars named at compat 13, working autopkgtests, DEP-3 headers on the hand-written patches, plausible changelog, Vcs-* fields, and Standards-Version 4.7.4 against Policy 4.7.4.1. The one real problem is that the versioned build-dependencies on rust-cargo 0.100, cargo-util 0.2.32 and cargo-util-terminal 0.1.2 cannot currently be satisfied from unstable or from NEW.
Issues
minor licensing 1. Files: debian/* does not name Simon Quigley, holder of the Debian patches and the shipped hint ◂
- Files:
debian/copyright:12-17,debian/copyright.debcargo.hint:27-33,debian/patches/system-rustc.patch:2,debian/patches/stable-binary-dep-depinfo.patch:2,debian/patches/debian-registry-tests.patch:2 - Basis: inferred from what was read, not seen directly
- Evidence: debian/copyright's debian/* stanza lists only
Debian Rust MaintainersandJelmer Vernooij; debian/copyright.debcargo.hint's debian/* stanza adds2026 Simon Quigley <tsimonq2@debian.org>, and the three hand-written patches carryAuthor: Simon Quigley <tsimonq2@debian.org>. - Problem: The Debian packaging includes work authored by Simon Quigley (the patches and the changelog entries). Debian Policy 2.3 does not require a copyright notice for Debian's own packaging, since it is not distributed in a binary package, but the DFSG team and reviewers expect debian/copyright to name all holders, and the machine-generated hint that ships in this source package already names him.
- Fix: Add
2026 Simon Quigley <tsimonq2@debian.org>to the Copyright of theFiles: debian/*stanza, or delete the now-redundant debian/copyright.debcargo.hint if it is not meant to ship.
minor packaging 2. Build-Depends require rust-cargo 0.100, cargo-util 0.2.32 and cargo-util-terminal 0.1.2, which the archive does not have ◂
- Files:
debian/control:6-19,debian/control:31-43 - Basis: checked, in the package or with a reference tool
- Evidence:
librust-cargo-0.100+default-dev,andlibrust-cargo-util-0.2+default-dev (>= 0.2.32)andlibrust-cargo-util-terminal-0.1+default-dev (>= 0.1.2); apt-cache: librust-cargo-dev is 0.99.0-1 and provides onlylibrust-cargo-0.99*, librust-cargo-util-dev is 0.2.31-1, librust-cargo-util-terminal-dev is 0.1.1-1, and nothing provideslibrust-cargo-0.100+default-dev(also absent from the NEW queues as of 2026-11-15). - Problem: A clean unstable chroot cannot satisfy the Build-Depends, so sbuild would fail before compiling anything; until rust-cargo 0.100 (and the matching cargo-util/cargo-util-terminal versions) is accepted, this source cannot be built. The same unsatisfiable dependencies are repeated in
librust-cargo-udeps-dev's Depends, so that binary would be uninstallable as well. Theolder-cargopatch moves the code to cargo 0.100's new module layout (cargo::context,cargo::workspace,cargo_util_terminal), so simply dropping the version constraints and building against 0.99 is not obviously possible. - Fix: Either wait for and upload rust-cargo 0.100 with cargo-util 0.2.32 and cargo-util-terminal 0.1.2 first (and say so in the changelog), or, if the patched code really does compile against the archive's cargo 0.99 / cargo-util 0.2.31 / cargo-util-terminal 0.1.1, relax the three constraints to those versions and re-check the imports the patches introduce.
Verified ◂
- debian/copyright is DEP-5 with the canonical Format URL;
Files: *covers every upstream file (patterns are anchored, so it covers the whole tree) andFiles: debian/*covers packaging. - LICENSE (214 lines) contains the copyright notice
2019 est31 <MTest31@outlook.com> and contributors, the full MIT text and the full Apache License 2.0 text; Cargo.toml sayslicense = "MIT OR Apache-2.0"; debian/copyright matches withExpat or Apache-2.0, the MIT text inline and Apache-2.0 by reference to /usr/share/common-licenses/Apache-2.0. - Ryo Yamashita is an author and Upstream-Contact in Cargo.toml and is named in the debcargo hint, but no file in the tree carries a notice naming him; the only notice is
est31 ... and contributors, which debian/copyright reproduces. - Grep of the whole tree (excluding .pc and debian/cargo-checksum.json) for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, GNU GPL/LGPL, Apache License, Mozilla Public, public domain and All rights reserved found licence/copyright text only in LICENSE, README.md and debian/copyright; no GPL/LGPL/MPL/CC terms and no field-of-use or non-commercial wording anywhere.
- The prescan's author check scanned 25 files and found every holder represented; it listed no file to account for individually.
- No built binaries, minified code, PDFs or vendored third-party sources: Cargo.lock is the only generated file and Cargo.toml is shipped beside it; Cargo.toml.orig and .cargo_vcs_info.json are upstream metadata; tests are Rust files with inline Cargo.toml snippets, not vendored crates.
- LICENSE, README.md, CHANGELOG.md, CONTRIBUTING.md, .editorconfig, .pre-commit-hooks.yaml, .gitignore, .github/dependabot.yml and .github/workflows/ci.yml are all matched by
Files: *; no separate licence file exists in any subdirectory. - Patches are applied and present in the tree; none creates an upstream file that debian/copyright would need its own stanza for (the debcargo hint is a packaging file, not upstream code).
- rules is
dh $@ --buildsystem cargowith debhelper-compat 13 and dh-sequence-cargo; at compat 13 the relationship substvars are correctly named in control (${misc:Depends},${shlibs:Depends},${cargo:*}), and the hand-rolled patches carry DEP-3 headers while the debcargo-generatedolder-cargoand auto/auto-remove-features.patch follow the Rust team's convention. - three autopkgtests run the crate's own tests through cargo-auto-test with the dev-dependencies (pretty-assertions, tempfile) and fixture crates (if-chain, maplit, matches) declared in Depends, and
Architecture: !riscv64on the no-default-features run. - changelog version 0.1.61-1/unstable, maintainer and uploaders, Vcs-Git/Vcs-Browser, Homepage, X-Cargo-Crate and Standards-Version 4.7.4 (Policy 4.7.4.1; first two components match) are all consistent.
- The
system-rustcandstable-binary-dep-depinfopatches are Debian-only workarounds (using the plain rustc when rustup is absent, setting RUSTC_BOOTSTRAP only when unset) and theirForwarded: not-neededheaders are appropriate. - uscan found the packaged version as the newest upstream release (upstream
0.1.61, packaged0.1.61). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- Whether rust-cargo 0.100 with cargo-util 0.2.32 and cargo-util-terminal 0.1.2 has been accepted into NEW after the local package-list snapshot of 2026-11-15; if it has, the build-dependency issue disappears.
- Whether the patched test suite (
cargo-auto-test ... --all-targets --all-features) passes against the Debian crate registry; that requires running the autopkgtest, which this review cannot do.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 4 hours ago.