Skip to main content

Crate actix_cloud_codegen

Crate actix_cloud_codegen 

Source
Expand description

Procedural macros for actix-cloud.

  • main: attribute for the main function that runs it on the Actix Web runtime through actix_cloud’s re-exported actix_web.
  • i18n (feature i18n): load locale files at compile time.

Macros§

i18ni18n
Init I18n translations.

Attribute Macros§

main
Attribute for the main function, equivalent to #[actix_web::rt::main(system = "actix_cloud::actix_web::rt::System")].