Crate i18n_config
source ·Expand description
This library contains the configuration stucts (along with their parsing functions) for the cargo-i18n tool/system.
Structs
- Represents a rust crate.
- Important i18n-config paths related to the current crate.
- The data structure representing what is stored (and possible to store) within the
fluentsubsection of ai18n.tomlfile. - The data structure representing what is stored (and possible to store) within the
gettextsubsection of ai18n.tomlfile. - The data structure representing what is stored (and possible to store) within a
i18n.tomlfile.
Enums
- An error type for use with the
i18n-configcrate. - An error type explaining why a crate failed to verify.
Functions
- Locate the current crate’s directory and
i18n.tomlconfig file. This is intended to be called by a procedural macro during crate compilation.