fluent-rs is a collection of Rust crates implementing Project Fluent.
The crates perform the following functions:
Umbrella crate combining crates that are ready to be used in production.
Low level Fluent Syntax AST and parser API.
Implementation of the low-level Fluent Localization System providing localization capabilities for any Rust project.
Implementation of the high-level Fluent Localization System providing localization capabilities for any Rust project.
Resource Manager for localization resources.
Collection of command line tools for Fluent.
Each fluent-* directory works with the typical cargo commands. In addition there are some general cargo-make commands that can be run. First install cargo-make via cargo install --force cargo-make. The commands are documented in Makefile.toml.
To run all of the tests for the repo run:
cargo make testFor local code coverage reports run:
# Install the tools first if you haven't done so. The llvm tools must be available
# on the path for this to work correctly.
cargo make install-tools
# Then coverage can be run like so:
cargo make coverage