2 releases

0.2.2 Jun 17, 2021
0.2.1 Jun 17, 2021

#223 in #pure

MIT license

46KB
1.5K SLoC

romkan

A Romaji/Kana conversion library written in pure Rust, based on python-romkan

Availablity

Available on crates.io. MIT License.

Usage

use romkan::Romkan;

fn main() {
    println!("{}", "kyouhatennkigaiidesune".to_hiragana());
    // きょうはてんきがいいですね
    println!("{}", "きょうはてんきがいいですね".to_romaji());
    // kyouhatenkigaiidesune
}

Dependencies

~3.5–5MB
~98K SLoC