Skip to content

Detect usage in doc tests #163

@DenisGorbachev

Description

@DenisGorbachev

Hi, thank you for a helpful crate!

Is it possible to implement usage detection for dev-dependencies in doc tests?

For example:

  • git clone https://github.com/DenisGorbachev/vec-of-enum
  • Remove package.metadata.cargo-machete in Cargo.toml
  • cargo machete --with-metadata

Currently it doesn't detect that derive_more and serde are used in src/lib.rs module doc.

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