cranberry 0.1.0

A versatile Rust library for Russian Cyrillic transliteration
Documentation
1
2
3
4
5
6
7
8
9
#[macro_export]
macro_rules! alphabetize {
    ($($cyr:literal => $lat:expr),* $(,)?) => {{
        use crate::alias::Alphabet;
        let mut alphabet = Alphabet::new();
        $(alphabet.insert($cyr, $lat.into());)*
        alphabet
    }};
}