Skip to main content

djogi_main

Macro djogi_main 

Source
djogi_main!() { /* proc-macro */ }
Expand description

Generate a fn main() that references model types to prevent the LTO linker from dropping inventory data, then delegates to djogi_cli::run_from_env(). Referencing a single descriptor per crate forces ALL inventory from that crate into the final binary. This macro makes that reference explicit and auditable at the adopter’s binary entry point.

§Usage

djogi::djogi_main!(tracker::Elephant, billing::Invoice);