Tool to check if any dependencies sneaked into my public api

Is there any cargo tool to check if any dependencies sneaked into my public api?

I found the following, but it is not exactly what I am looking for:
https://crates.io/crates/cargo-public-api

1 Like

Hi, maintainer of cargo-public-api here. I think it would be pretty straightforward to add such a feature to cargo-public-api. I think it fits well into the use cases of cargo-public-api.

I have created an issue to track this: Add check for presence of dependencies in the public API · Issue #383 · Enselic/cargo-public-api · GitHub

If you (or someone else) happen to be interested in helping to implement it, I would be happy to mentor!

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.