asked the clanker to change the arcidecture a bit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
//! Bar module registry: constructs every enabled module. Adding a module is
|
||||
//! a new crate under `crates/modules/` plus one entry in `all()` — core
|
||||
//! never changes.
|
||||
|
||||
use common::BarModule;
|
||||
|
||||
/// One instance of every enabled module, ready to insert by `id()`.
|
||||
pub fn all() -> Vec<Box<dyn BarModule>> {
|
||||
vec![Box::new(module_clock::Clock::new())]
|
||||
}
|
||||
Reference in New Issue
Block a user