fluent-syntax
A low-level parser, AST, and serializer API for the syntax used by Project Fluent, a localization system designed to unleash the entire expressive power of natural language translations.
0.12.0
16M downloads/mo
#2391 most downloaded on crates.io
projectfluent/fluent-rs
What this package is like to depend on
Last release 1 years ago
22 May 2025
Ships unpredictably
gaps range from 2 weeks to 3.2 years
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
14 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
14 releases · Jul 2018 to May 2025
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 14-
0.12.022 May 2025Release notes
Open source →- Add module
serializer - De-ambiguate dependencies vs. features
- Cleanup docs
- Satiate Clippy
Release notes
Open source →- Add module
serializer- De-ambiguate dependencies vs. features
- Cleanup docs
- Satiate Clippy
- Add module
-
0.11.105 May 2024Release notes
Open source →- This is a 'safe harbor' release prior to bringing on non-Mozilla community maintainers
- Create generic ftl serializer
fluent_syntax::serializer - Fix crash when parsing multiline CRLF comment
- Treat tab as text, not whitespace, adds
parser::matches_fluent_wsfunction - Workspace: Update to Rust 2021
- Workspace: Add various missing documentation and fix typos and links
- Workspace: Cleanup meta-data using workspaces, use SPDX licenses, etc.
- Workspace: Apply rustfmt and clippy lint fixes
- Create generic ftl serializer
- This is a 'safe harbor' release prior to bringing on non-Mozilla community maintainers
-
0.11.009 Feb 2021Release notes
Open source →- Document the crate.
- Switch to use
thiserrorfor Error annotations. - Add
iaibenchmarks. - Minor updates to AST names.
- Introduce
parse/parse_runtimefunctions instead ofParserstruct. - Make
ParserErroruseRange.
- Switch to use
- Document the crate.
-
0.10.331 Jan 2021 -
0.10.225 Jan 2021Release notes
Open source →- Add
parse_runtimemethod onParserwhich skips comments.- Fix handling of empty CRLF lines in mutliline patterns.
- Add
-
0.10.104 Jan 2021 -
0.10.025 Sep 2020Release notes
Open source →- Refactored AST to be generic over S which enables sliced, or owned ASTs.
- Simplified the AST to get it closer to reference AST.
- Refactored the parser to be composable.
- Moved serde derives onto AST nodes behind
serdeoptional feature. - Around 8-10% performance improvement on parsing "browser" and "preferences" contexts.
- Refactored AST to be generic over S which enables sliced, or owned ASTs.
-
0.9.304 Mar 2020Release notes
Open source →- Move JSON serialization from tests to source code behind the feature flag.
- Fix a minor syntax issue that caused the parser to recognize a comment ending on EOF as Junk.
- Add context benchmarks for Firefox contexts - browser and preferences.
- Move JSON serialization from tests to source code behind the feature flag.
-
0.9.213 Feb 2020Release notes
Open source →- Import updated tests from the reference parser.
- Minor parser improvements to align with new tests.
- Import updated tests from the reference parser.
-
0.9.126 Nov 2019 -
0.9.026 Mar 2019 -
0.8.001 Feb 2019Release notes
Open source →- Update to Fluent Syntax 0.8
- Switch to zero-copy parser
- Start using reference FTL fixtures in tests
- Switch to criterion for benchmarks
- Rust 2018 edition
- Update to Fluent Syntax 0.8
-
0.1.130 Aug 2018 -
0.1.029 Jul 2018Release notes
Open source →- Initial release of the standalone fluent-syntax. Based on fluent 0.2.0, and syntax 0.5