Skip to content

uudoc: add missing dependencies for all-features builds#546

Merged
sylvestre merged 1 commit into
uutils:mainfrom
favilances:uudoc-missing-deps
May 13, 2026
Merged

uudoc: add missing dependencies for all-features builds#546
sylvestre merged 1 commit into
uutils:mainfrom
favilances:uudoc-missing-deps

Conversation

@favilances
Copy link
Copy Markdown

Summary

Adds the missing direct dependencies used by the uudoc binary and wires them to the uudoc feature.

Motivation

cargo clippy --all-targets --all-features failed because src/bin/uudoc.rs imports zip and uuhelp_parser, but the root package did not declare them. Declaring these dependencies behind the feature keeps the default build unchanged while making all-features checks reliable.

Testing

  • cargo check --features uudoc
  • cargo fmt --check
  • cargo clippy --all-targets --all-features
  • cargo test

The uudoc binary imports zip and uuhelp_parser when the uudoc feature is enabled, but the root package did not declare those dependencies. This broke all-features builds and clippy checks.

Declare the dependencies behind the uudoc feature so the documentation binary can be checked reliably without adding them to the default build.

Signed-off-by: favilances <favilances@proton.me>
@sylvestre sylvestre merged commit 588e410 into uutils:main May 13, 2026
13 checks passed
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