[Bug 2143935] Re: cargo-auditable dependency should be Suggests

Max Gilmour 2143935 at bugs.launchpad.net
Fri Mar 20 14:25:17 UTC 2026


** Changed in: rustc-1.93 (Ubuntu Resolute)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc-1.93 in Ubuntu.
Matching subscriptions: rustc-1.93
https://bugs.launchpad.net/bugs/2143935

Title:
  cargo-auditable dependency should be Suggests

Status in rustc-1.93 package in Ubuntu:
  Fix Released
Status in rustc-1.93 source package in Resolute:
  Fix Released

Bug description:
  Currently, rustc-1.93 has a strict Depends relationship with
  cargo-auditable, but since cargo-auditable is a strictly opt-in
  feature, this dependency is far too restrictive. To quote the Debian
  Policy Manual[1] states that Depends is only necessary if:
  - The package is needed to provide significant functionality
  - The postinst or prerm scripts require the package
  - The postrm script requires the package for cleanup after removal

  On the other hand, the Debian Policy Manual states the following
  regarding Suggests:

  > Using this field tells the packaging system and the user that the
  > listed packages are related to this one and can perhaps enhance its
  > usefulness, but that installing this one without them is perfectly
  > reasonable.

  This fits rustc-1.93's relationship with cargo-auditable perfectly --
  cargo-auditable is needed to use a single, experimental, opt-in
  feature, but it is wholly unnecessary for the vast majority of rustc
  installations.

  Additionally, rustc-1.93 must fail gracefully if cargo-auditable isn't
  installed, because after moving cargo-auditable to Suggests we can't
  guarantee that it'll be installed.

  Fixing this bug is important because it would mean that we could make
  rustc-1.93 the default without needing to wait on an MIR for
  cargo-auditable.

  [1]: https://www.debian.org/doc/debian-policy/ch-relationships.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc-1.93/+bug/2143935/+subscriptions




More information about the foundations-bugs mailing list