Crate doko

Crate doko 

Source
Expand description

§doko

doko provides the procedural macro doko::doko! to enable running specific methods in known submodules without explicitly importing those modules.

§Examples

For more in-depth examples, see the README and examples directory in the repository.

doko::doko!("examples/utilities", "run", () -> u32);

fn main() {
    assert_eq!(1, doko_run("first")());
}

Macros§

doko
Provides a function that can call some shared method in our included submodules by the modules name.
doko_skip_mods
Provides a function that can call some shared method in our included submodules by the modules name. Skips including the modules, to allow for calling multiple shared methods per module.