Code
In main.rs
use timers::Config;
fn main() {
timers::run(config);
}
In lib.rs
pub fn run(config: Config) {}
Issue
graphviz shows = main -> ...main.rs.timers::run but should be ...lib.rs.run
Explanation
Imports are not explicitly clear from rust AST. We have to track import statements and internally manage dependencies and modules.