I have a crate, and I'm worried about backward compatibility when something is changed (e. g. when some type is moved to a different mod but still exported as the previous name).
It would be helpful to have a tool, which exports all signatures of all types and all functions in a simple format: one line — one signature.
So API changes could be inspected with a simple diff invocation.
Something like cargo doc, but much simpler. ( cargo doc uses public type names for displaying types).
I believe something like this already exists. What is this tool name?
I think all the public interfaces should have some test cases attached to it. Test is a necessary component for reliable software and also has side effect to prevent accidental api breakage.