With the mod.rs in place I can do this in my main.rs:
pub mod foo
and then in a different file do: use crate::foo::bar::*
But without the mod.rs it doesn't work and I don't know what the correct incantation is...Edit:
Nevermind, I thought this update meant you could remove the mod.rs completely but this is about declaring foo.rs as a file outside of the foo folder.
So you can't just do this like I was hoping:
.
├── lib.rs
└── foo/
└── bar.rs