Skip to main content

lingora_core/
lib.rs

1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3#![deny(clippy::all)]
4#![doc = include_str!("../README.md")]
5
6mod audit;
7mod config;
8mod domain;
9mod error;
10mod fluent;
11mod renderers;
12mod rust;
13#[cfg(test)]
14mod test_support;
15
16/// Prelude module for convenient imports of the most commonly used types and traits
17/// in the `lingora-core` crate.
18///
19/// ```rust
20/// use lingora_core::prelude::*;
21/// ```
22pub mod prelude {
23    pub use super::{
24        audit::{
25            AuditEngine, AuditIssue, AuditResult, AuditedDocument, DocumentRole, Kind, Subject,
26            Workspace,
27        },
28        config::{CoreArgs, LingoraToml},
29        domain::{LanguageRoot, Locale},
30        error::LingoraError,
31        fluent::{FluentDocument, QualifiedIdentifier},
32        renderers::{AnalysisRenderer, DioxusI18nConfigRenderer},
33    };
34}