[][src]Derive Macro i18n_embed::I18nEmbed

#[derive(I18nEmbed)]
{
    // Attributes available to this derive:
    #[config_file]
}

A procedural macro to implement the I18nEmbed trait on a struct.

The following struct level attributes available:

  • (Optional) #[config_file = "i18n.toml"] - path to i18n config file relative to the crate root.