fluent4rs 2.3.1

Parser / codec for [Fluent FTL files](https://github.com/projectfluent/fluent/blob/master/spec/fluent.ebnf), written for [lingora](https://github.com/nigeleke/lingora) (a localization management program), and may be found to be useful outside of that context. It is not intended to replace any aspects of the [fluent-rs](https://github.com/projectfluent/fluent-rs) crate implemented by [Project Fluent](https://projectfluent.org/), and, for the majority of language translation needs, the reader is referred back to that crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[cfg(feature = "parser-chumsky")]
mod chumsky;

#[cfg(feature = "parser-pom")]
mod pom;

#[cfg(feature = "parser-chumsky")]
pub use chumsky::*;
#[cfg(feature = "parser-pom")]
pub use pom::*;

#[cfg(all(feature = "parser-pom", feature = "parser-chumsky"))]
compile_error!("Use one feature 'parser-pom' or 'parser-chumsky' only.");

#[cfg(not(any(feature = "parser-pom", feature = "parser-chumsky")))]
compile_error!("One feature 'parser-pom' or 'parser-chumsky' must be enabled.");