#![warn(missing_docs, rustdoc::broken_intra_doc_links)]
pub mod catalog {
pub use ferrocat_po::{
ApiError, CatalogAuditChecks, CatalogAuditDiagnostic, CatalogAuditMessageRef,
CatalogAuditOptions, CatalogAuditReport, CatalogAuditSummary, CatalogCombineInput,
CatalogCombineResult, CatalogCombineSelection, CatalogCombineStats,
CatalogConflictStrategy, CatalogMessage, CatalogMessageExtra, CatalogMessageKey,
CatalogMode, CatalogOrigin, CatalogSemantics, CatalogStats, CatalogStorageFormat,
CatalogUpdateInput, CatalogUpdateResult, CombineCatalogOptions,
CompileCatalogArtifactOptions, CompileCatalogOptions,
CompileSelectedCatalogArtifactOptions, CompiledCatalog, CompiledCatalogArtifact,
CompiledCatalogDiagnostic, CompiledCatalogIdDescription, CompiledCatalogIdIndex,
CompiledCatalogMissingMessage, CompiledCatalogTranslationKind,
CompiledCatalogUnavailableId, CompiledKeyStrategy, CompiledMessage, CompiledTranslation,
DescribeCompiledIdsReport, Diagnostic, DiagnosticSeverity, EffectiveTranslation,
EffectiveTranslationRef, ExtractedMessage, ExtractedPluralMessage,
ExtractedSingularMessage, MachineTranslationMetadata, NdjsonCatalogReader,
NdjsonCatalogReaderOptions, NdjsonCatalogWriter, NdjsonCatalogWriterOptions,
NormalizedParsedCatalog, ObsoleteStrategy, OrderBy, ParseCatalogOptions, ParsedCatalog,
PlaceholderCommentMode, PluralEncoding, PluralSource, RenderOptions,
SourceExtractedMessage, TranslationShape, UpdateCatalogFileOptions, UpdateCatalogOptions,
audit_catalogs, combine_catalogs, compile_catalog_artifact,
compile_catalog_artifact_selected, compiled_key, machine_translation_hash, parse_catalog,
update_catalog, update_catalog_file,
};
}
pub mod icu {
pub use ferrocat_icu::has_selectordinal as has_select_ordinal;
pub use ferrocat_icu::{
IcuAnalysis, IcuArgument, IcuArgumentKind, IcuCompatibilityOptions, IcuCompatibilityReport,
IcuDiagnostic, IcuDiagnosticSeverity, IcuErrorKind, IcuFormatter, IcuFormatterSupport,
IcuMessage, IcuNode, IcuOption, IcuParseError, IcuParserOptions, IcuPluralKind,
IcuPluralSummary, IcuPosition, IcuSelectSummary, IcuStyleKind, IcuTagSummary,
MessageArgumentFormatMetadata, MessageArgumentKind, MessageArgumentMetadata,
MessageArgumentMetadataInput, MessageFormatStyleKind, MessageMetadata,
MessageMetadataDiagnostic, MessageMetadataInput, MessageMetadataValidationReport,
MessageOriginMetadata, MessageSelectorKind, MessageSelectorMetadata, analyze_icu,
compare_icu_messages, derive_message_metadata_from_icu, extract_argument_names,
extract_tag_names, extract_variables, has_plural, has_select, has_tag,
normalize_message_metadata, parse_icu, parse_icu_with_options, stringify_icu, validate_icu,
validate_icu_formatter_support, validate_icu_formatter_support_from_analysis,
validate_message_metadata,
};
}
pub mod po {
pub use ferrocat_po::MergeExtractedMessage as MergeMessageInput;
pub use ferrocat_po::{
BorrowedHeader, BorrowedMsgStr, BorrowedPoFile, BorrowedPoItem, Header, MsgStr, MsgStrIter,
ParseError, PoFile, PoItem, SerializeOptions, escape_string, extract_quoted,
extract_quoted_cow, merge_catalog, parse_po, parse_po_borrowed, stringify_po,
unescape_string,
};
}
#[deprecated(
since = "0.14.0",
note = "use ferrocat::has_select_ordinal or ferrocat::icu::has_select_ordinal"
)]
pub use ferrocat_icu::has_selectordinal;
pub use ferrocat_icu::{
IcuAnalysis, IcuArgument, IcuArgumentKind, IcuCompatibilityOptions, IcuCompatibilityReport,
IcuDiagnostic, IcuDiagnosticSeverity, IcuErrorKind, IcuFormatter, IcuFormatterSupport,
IcuMessage, IcuNode, IcuOption, IcuParseError, IcuParserOptions, IcuPluralKind,
IcuPluralSummary, IcuPosition, IcuSelectSummary, IcuStyleKind, IcuTagSummary,
MessageArgumentFormatMetadata, MessageArgumentKind, MessageArgumentMetadata,
MessageArgumentMetadataInput, MessageFormatStyleKind, MessageMetadata,
MessageMetadataDiagnostic, MessageMetadataInput, MessageMetadataValidationReport,
MessageOriginMetadata, MessageSelectorKind, MessageSelectorMetadata, analyze_icu,
compare_icu_messages, derive_message_metadata_from_icu, extract_argument_names,
extract_tag_names, extract_variables, has_plural, has_select, has_tag,
normalize_message_metadata, parse_icu, parse_icu_with_options, stringify_icu, validate_icu,
validate_icu_formatter_support, validate_icu_formatter_support_from_analysis,
validate_message_metadata,
};
#[cfg(feature = "catalog")]
pub const COMPILED_CATALOG_ARTIFACT_SCHEMA_VERSION: u16 = 1;
#[deprecated(
since = "0.14.0",
note = "use ferrocat::po::MergeMessageInput for the PO merge helper input"
)]
pub use ferrocat_po::MergeExtractedMessage;
#[cfg(feature = "catalog")]
pub use ferrocat_po::{
ApiError, CatalogAuditChecks, CatalogAuditDiagnostic, CatalogAuditMessageRef,
CatalogAuditOptions, CatalogAuditReport, CatalogAuditSummary, CatalogCombineInput,
CatalogCombineResult, CatalogCombineSelection, CatalogCombineStats, CatalogConflictStrategy,
CatalogMessage, CatalogMessageExtra, CatalogMessageKey, CatalogMode, CatalogOrigin,
CatalogSemantics, CatalogStats, CatalogStorageFormat, CatalogUpdateInput, CatalogUpdateResult,
CombineCatalogOptions, CompileCatalogArtifactOptions, CompileCatalogOptions,
CompileSelectedCatalogArtifactOptions, CompiledCatalog, CompiledCatalogArtifact,
CompiledCatalogDiagnostic, CompiledCatalogIdDescription, CompiledCatalogIdIndex,
CompiledCatalogMissingMessage, CompiledCatalogTranslationKind, CompiledCatalogUnavailableId,
CompiledKeyStrategy, CompiledMessage, CompiledTranslation, DescribeCompiledIdsReport,
Diagnostic, DiagnosticSeverity, EffectiveTranslation, EffectiveTranslationRef,
ExtractedMessage, ExtractedPluralMessage, ExtractedSingularMessage, MachineTranslationMetadata,
NdjsonCatalogReader, NdjsonCatalogReaderOptions, NdjsonCatalogWriter,
NdjsonCatalogWriterOptions, NormalizedParsedCatalog, ObsoleteStrategy, OrderBy,
ParseCatalogOptions, ParsedCatalog, PlaceholderCommentMode, PluralEncoding, PluralSource,
RenderOptions, SourceExtractedMessage, TranslationShape, UpdateCatalogFileOptions,
UpdateCatalogOptions, audit_catalogs, combine_catalogs, compile_catalog_artifact,
compile_catalog_artifact_selected, compiled_key, machine_translation_hash, parse_catalog,
update_catalog, update_catalog_file,
};
pub use ferrocat_po::{
BorrowedHeader, BorrowedMsgStr, BorrowedPoFile, BorrowedPoItem, Header, MsgStr, MsgStrIter,
ParseError, PoFile, PoItem, SerializeOptions, escape_string, extract_quoted,
extract_quoted_cow, merge_catalog, parse_po, parse_po_borrowed, stringify_po, unescape_string,
};
pub use icu::has_select_ordinal;