mainmatter / cargo-autoinherit

(Auto)DRY for your Rust dependencies
Apache License 2.0
122 stars 8 forks source link

Crashing on `[dev_dependencies]` #18

Open Boshen opened 4 months ago

Boshen commented 4 months ago

https://github.com/mainmatter/cargo-autoinherit/blob/eb922d3ea3d4376fca33fd5ef4a9ffe580b7f20c/src/lib.rs#L135-L138

This panics on [dev_dependencies] but I was confused by the panic until looking at the source code.

LukeMathWalker commented 4 months ago

I forgot the snake case variant was still accepted. We need to fix this, for build dependencies as well.