TimonPost / cargo-unused-features

Find potential unused enabled feature flags and prune them.
MIT License
230 stars 10 forks source link

Using wildcard in workspaces does not work #19

Open psmit opened 7 months ago

psmit commented 7 months ago

Describe the bug It is valid to use a wildcard in a workspace Cargo.toml. This tool does not accept it and gives an error such as:

[2024-01-15T11:26:54Z ERROR unused_features::subcommands::analyze] Failed to load '/xxxxx/servers/*' crate. No such file or directory (os error 2)

workspace]
resolver = "2"

members = [
  "mycrate",
  "servers/*",
  "types/*",
]