2 releases

Uses old Rust 2015

0.1.1 Aug 16, 2017
0.1.0 Aug 16, 2017

#8 in #hiragana

41 downloads per month

MIT license

32KB
1K SLoC

romaji

inspired by romaji in Ruby

my romaji follows Kunrei-shiki(訓令式) that we can type by keyboard.

Usage

[dependencies]
romaji = "0.1"
extern crate romaji;

use romaji::RomajiExt;

fn main() {
    "kyoumoshinaitone".to_katakana(); // => "キョウモシナイトネ".to_string()
    "kyoumoshinaitone".to_hiragana(); // => "きょうもしないとね".to_string()
    "キョウモシナイトネ".to_romaji();    // => "kyoumoshinaitone".to_string()
}

No runtime deps