Detecting unnecessary public in multi-crate project

Hi all! I have a project with workspace, having a lot of (sub)crates that are not published.

I'd like to find all pub structs, fields, functions, etc. that are not referenced by any other crate. Is there any tool that can help with it? Manual inspection is tedious.

warnalyzer was able to do this, but it doesn't work with current compilers and would need rewriting. I'm not aware of any other tools that do the same job.

Thanks a lot! Seems I need to watch this project and wait until they port it.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.