jazz
jazz copied to clipboard
move declarations to separate file
https://github.com/foundpatterns/torchbear/blob/fdb47a2150261c1869b39e364a90ac60d70f6d3f/src/lib.rs#L2-L48
would it be possible to move extern crate declarations to declarations.rs
or better? we should be able to Split a module across several files
, right?
For now they can stay as is since moving them wont really solve anything and would likely break stuff. I do plan on moving torchbear to 2018 edition which would allow us to remove extern crate
for the majority of them, though there is really no gain or loss from switching
With a switch to 2018 edition (https://github.com/foundpatterns/torchbear/issues/154), the extern crate
will be optional unless a macro is going to be used then it would need to be included.
I'd still like to split lib.rs
into organized submodules