From cf712bced280b217b6307edabc2089b3e57204ab Mon Sep 17 00:00:00 2001 From: Daniel Rainer Date: Mon, 10 Nov 2025 18:03:45 +0100 Subject: [PATCH] feat: Make `fluent_syntax::parser::core::Parser` pub This allows creating a simple FTL formatter by parsing and then immediately serializing the parsing result again. --- fluent-syntax/src/parser/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/fluent-syntax/src/parser/mod.rs b/fluent-syntax/src/parser/mod.rs index 00230032..7d8f6395 100644 --- a/fluent-syntax/src/parser/mod.rs +++ b/fluent-syntax/src/parser/mod.rs @@ -78,6 +78,7 @@ mod runtime; mod slice; use crate::ast; +pub use core::Parser; pub use errors::{ErrorKind, ParserError}; pub(crate) use slice::matches_fluent_ws; pub use slice::Slice;