Attribute Macro perseus::main

source · []
#[main]
Expand description

Marks the given function as the entrypoint into your app. You should only use this once in the lib.rs file of your project.

Internally, this just normalizes the function’s name so that Perseus can find it easily.