jp-prefecture 1.0.0

an utility crate of using Japanese prefectures
Documentation
# jp-prefecture

jp-prefecture is an useful crate for using Japanese prefectures

# Getting Started

Crate has to be added as dependency to `Cargo.toml`

```toml
[dependencies]
jp-prefecture = "0.1.0"
```

and imported to the scope of a block where it's begin called

```rust
use jp_prefecture::prefectures;
```

# Examples

```rust
use jp_prefecture::prefectures;

let tokyo = prefectures::find_by_kanji("東京都");
println!("{:?}", tokyo); // => Some(Prefecture::Tokyo)
println!("{:?}", tokyo.unwrap().kanji()); // => "東京都"
println!("{:?}", tokyo.unwrap().kanji_short()); // => "東京"
println!("{:?}", tokyo.unwrap().english()); // => "tokyo"

let tokyo = prefectures::find_by_hiragana("東京県"); // uhmmmm...
println!("{:?}", tokyo); // => None
```