Crate rosetta_build

Source
Expand description

Code generation for the Rosetta i18n library.

§Usage

Code generation works within build script. You only need to configure source files and the fallback language. Please read the documentation for more information.

rosetta_build::config()
    .source("fr", "locales/fr.json")
    .source("en", "locales/en.json")
    .fallback("en")
    .generate();

Modules§

error
Errors returned when generating code.

Structs§

RosettaBuilder
Builder used to configure Rosetta code generation.

Functions§

config
Helper function that return an default RosettaBuilder.