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