#![cfg_attr(not(feature = "std"), no_std)]
extern crate alloc;
pub mod arpabet;
pub mod dictionary;
pub mod error;
pub mod ipa;
#[cfg(feature = "varna")]
pub use dictionary::detect::{detect_language_hint, detect_script, detect_script_name};
pub use dictionary::entry::{DictEntry, Pronunciation, Region};
#[cfg(feature = "varna")]
pub use dictionary::validate::{InvalidEntry, ValidationReport};
pub use dictionary::{DictDiff, PronunciationDict};
pub use error::{Result, ShabdakoshError};
#[cfg(test)]
mod assert_traits {
fn _assert_send_sync<T: Send + Sync>() {}
#[test]
fn public_types_are_send_sync() {
_assert_send_sync::<crate::error::ShabdakoshError>();
_assert_send_sync::<crate::dictionary::PronunciationDict>();
_assert_send_sync::<crate::dictionary::entry::DictEntry>();
_assert_send_sync::<crate::dictionary::entry::Pronunciation>();
_assert_send_sync::<crate::dictionary::entry::Region>();
}
#[cfg(feature = "varna")]
#[test]
fn varna_types_are_send_sync() {
_assert_send_sync::<crate::dictionary::validate::ValidationReport>();
_assert_send_sync::<crate::dictionary::validate::InvalidEntry>();
}
}