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
fluent
subsection of ai18n.toml
file. - The data structure representing what is stored (and possible to store) within the
gettext
subsection of ai18n.toml
file. - The data structure representing what is stored (and possible to store) within a
i18n.toml
file.
Enums
- An error type for use with the
i18n-config
crate. - An error type explaining why a crate failed to verify.
Functions
- Locate the current crate’s directory and
i18n.toml
config file. This is intended to be called by a procedural macro during crate compilation.