shlesha 0.5.7

High-performance extensible transliteration library with hub-and-spoke architecture
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Runtime compilation and caching modules are only available for non-WASM targets
// WASM environments cannot spawn processes or access the filesystem in the same way
#[cfg(not(target_arch = "wasm32"))]
pub mod cache;
#[cfg(not(target_arch = "wasm32"))]
pub mod compiler;

#[cfg(not(target_arch = "wasm32"))]
pub use cache::{CacheManager, CompilationCache};
#[cfg(not(target_arch = "wasm32"))]
pub use compiler::RuntimeCompiler;