Skip to main content

Module

Attribute Macro Module 

Source
#[Module]
Expand description

#[Module(controllers(..), providers(..), imports(..))] — declare a unit of the application DAG.

Wires controllers and providers into the module graph that App::launch composes at startup; imports(..) pulls in other modules’ exported providers.