When do you put logic in mod.rs?
I’m coming from a JavaScript background where index.js is typically only used to re-export files.
Looking at Rust crates, there’s typically logic in the mod.rs files (https://github.com/tokio-rs/axum/blob/main/axum/src/handler/mod.rs).
When do you include logic in the mod.rs file instead of a separate file?