Lintian ReportsBETA

Tag versions

Eempty-rust-library-declares-provides

The tag is present in Lintian version 2.114.68. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.114.0 release tag in our Git repository.

You can find the detection logic for this version at commit 1af554a. For merge requests, please use the latest version in the Lintian check languages/rust.

Visibility: error

For some time, Rust libraries used empty installation packages with long Provides lines in their control files to deal with peculiarities in Rust packaging. It is no longer considered acceptable because it strains our archive infrastructure.

Rust packages should not be empty and merely declare a Provides control field. Instead, please merge such packages into the main installation package. When using debcargo, this can usually be achieved by adding collapse_features = true to the debcargo.toml file.

You can see some examples here:

- https://sources.debian.org/src/rust-dbus/0.9.0-2/debian/control/
- https://sources.debian.org/src/rust-x11rb/0.7.0-1/debian/control/

The decision to burden the Rust packaging team with that extra step was made after weighing all possible alternatives.

For more information please consult:

The following 245 source packages in the archive triggered the tag 245 times (in any Lintian version).

We found 37 overrides. The tag performed 85% of the time.