This is actually a two part question:
- Can I have a single module in separate files in Rust?
This is my file layout. Is it possible to have a single logging
module and have a set of structs/traits to be defined inside this module, but in separate physical files(logger,sql)?
If it's possible, can such project be built with current Cargo?
And, if it is possible, how do I reference my structs, defined in logging
module, in my app.rs?
I'm using: rustc 0.12.0-pre-nightly (cf1381c1d 2014-07-26 00:46:16 +0000)