Registry / utility / moddef

moddef

JSON →
library0.3.0rscratesunverified

Macro for convenient module declaration with group visibility.

# Cargo.toml [dependencies] moddef = "0.3.0"
INSTALL
IMPORT
SIG · MODDEF
M
moddef
utilityrustv0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

moddef
use moddef::moddef;

Declares modules with group visibility using the moddef macro.

use moddef::moddef; moddef! { pub mod foo; pub(crate) mod bar; } fn main() { println!("Modules declared!"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
moddef — cargo add moddef · libregistry