Crate ruxt

Source

Attribute Macrosยง

main
A macro that wraps your main function with the necessary boilerplate to run a Ruxt application. The main function should be an async function that returns a std::io::Result<()>. The macro will generate the necessary code to run an Actix Web server with the routes defined in the src/pages folder.