Skip to content

Exclude non library packages #282

@joshka

Description

@joshka

In a workspace with packages that aren't libraries, some commands (e.g. cargo test --doc) do not work.
cargo test --workspace --doc succeeds, because it only runs for library packages.

So to emulate the same behavior, I think this probably needs either:

  • an --exclude-non-lib-packages option
  • an --include-lib-packages option

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions