Skip to content

fix: install cargo-about with --features=cli#600

Merged
Molter73 merged 3 commits intomainfrom
mauro/fix/licenses-check
May 4, 2026
Merged

fix: install cargo-about with --features=cli#600
Molter73 merged 3 commits intomainfrom
mauro/fix/licenses-check

Conversation

@Molter73
Copy link
Copy Markdown
Contributor

@Molter73 Molter73 commented May 4, 2026

Description

With release 0.9 of cargo-about it is now required to specify the cli feature for it to be properly installed as an executable binary. If said feature is not added, installation fails with the message:

warning: none of the package's binaries are available for install using the selected features
  bin "cargo-about" requires the features: `cli`
Consider enabling some of the needed features by passing, e.g., `--features="cli"`

There is also a bit of cleaning up, namely we add THIRD_PARTY_LICENSES.html to the list of ignored files and make sure that make clean removes it. We also changed from installing cargo-about as part of the make licenses target, checking if the binary is installed and letting the user know how to install it if it is not.

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

Manually tested on my machine.
CI run

With release 0.9 of cargo-about it is now required to specify the cli
feature for it to be properly installed as an executable binary. If said
feature is not added, installation fails with the message:
```
warning: none of the package's binaries are available for install using the selected features
  bin "cargo-about" requires the features: `cli`
Consider enabling some of the needed features by passing, e.g., `--features="cli"`
```

There is also a bit of cleaning up, namely we add
`THIRD_PARTY_LICENSES.html` to the list of ignored files and make sure
that `make clean` removes it.
@Molter73 Molter73 requested a review from a team as a code owner May 4, 2026 08:45
@Molter73 Molter73 enabled auto-merge (squash) May 4, 2026 09:12
Copy link
Copy Markdown
Contributor

@ovalenti ovalenti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL --features= 👍

@Molter73 Molter73 merged commit 48903b6 into main May 4, 2026
23 of 25 checks passed
@Molter73 Molter73 deleted the mauro/fix/licenses-check branch May 4, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants