mods 1.0.0

Simpler module declaration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![allow(missing_docs)]

mods! {
    pub puppy, kitty;
    a, b, c;
}

#[cfg(not(no_pub_special))]
mods! {
    pub(crate) x;
    pub(in super::tests) y;
}

mods! {}

// Check that the module is actually declared.
pub use self::puppy::Dog;