So here's the schema:
|- app/ |--- cargo.toml |--- src/ |----- main.rs |----- lib.rs |- other/ |--- cargo.toml |--- src/ |----- main.rs |----- lib.rs
Forgive me if I'm using incorrect terminology; still pretty new; but here goes. What I want to do is access code from the
app crate from inside the
other crate. My first instinct tells me to do something like this:
use super::super::app::main, but that doesn't work; I get an error that says
there are too many initial super
What's the correct way to use code from another module in this manner?