How to parse Rust code to find uses of functions from a crate?

I'd like to be able to search my local code for all functions that are used from a particular crate. I know there are tools to do this but my web search abilities are failing me.

Essentially I'd like to have a summary of which functions are used and then details about where they're used.

You might be able to find them using a regex for the namespace (or even just grep). Otherwise, I would think you would need to lex the target crate source for all function signatures and then search your crate for any instances of that list of functions.

I don't a whole lot about it but rust-semver is a project that checks a crate's api for semver breaking changes. I would imagine there is a lib or mod in there that does most of what you want. At least an idea of how to do this maybe?

Thanks, I'll have a look.