Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iban_validate crate is a false positive #78

Open
cemoktra opened this issue Jul 13, 2023 · 4 comments
Open

iban_validate crate is a false positive #78

cemoktra opened this issue Jul 13, 2023 · 4 comments

Comments

@cemoktra
Copy link

Have a project depend on https://crates.io/crates/iban_validate and actually use it. Machete will detect it as unused

@bnjbvr
Copy link
Owner

bnjbvr commented Jul 13, 2023

Does it work with --with-metadata? This crate exposes a different name internally: https://github.com/ThomasdenH/iban_validate/blob/master/iban_validate/Cargo.toml#L19

@cemoktra
Copy link
Author

It runs very long and then errors out with "Dependency not found"

@bnjbvr
Copy link
Owner

bnjbvr commented Jul 16, 2023

Do you mean that analyzing the project causes an error, or that cargo-machete doesn't mark the dependency as unused? If the former, can you provide a minimal repro/test case please?

@cemoktra
Copy link
Author

It causes an error

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

No branches or pull requests

2 participants