Crate dry_mods

Crate dry_mods 

Source
Expand description

build status docs.rs crates.io license

§DRY modules

Don’t Repeat Yourself, be DRY! That’s why you should use this crate, for removing repetition and verboseness from your module declarations.

Check out the docs for a guide and example usage. There’s also some fully compiled examples, which you can access here.

Why this crate?

  • Intuitive and flexible macro syntax.
  • Extremely lightweight. No dependencies.
  • You can use it in a no-std or no-alloc context.

Macros§

mods
Flexible and powerful module declarations.
prelude
Generates a prelude module with some uses.