Crates.io | japanese-address-parser |
lib.rs | japanese-address-parser |
version | |
source | src |
created_at | 2023-11-29 15:59:16.871545 |
updated_at | 2024-12-06 16:44:38.783553 |
description | A library for processing addresses of Japan |
homepage | |
repository | https://github.com/YuukiToriyama/japanese-address-parser |
max_upload_size | |
id | 1053253 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A Rust library for parsing Japanese addresses.
Add the following to your Cargo.toml
.
[dependencies]
japanese-address-parser = "0.1"
use japanese_address_parser::parser::Parser;
#[tokio::main]
async fn main() {
let parser: Parser = Default::default();
let parse_result = parser.parse("東京都千代田区丸の内1-1-1").await;
println!("{:?}", parse_result);
}
use japanese_address_parser::parser::Parser;
fn main() {
let parser: Parser = Default::default();
let parse_result = parser.parse_blocking("東京都千代田区丸の内1-1-1"); // `parse_blocking()` is available on `blocking` feature only
println!("{:?}", parse_result);
}
This crate is designed to be buildable for wasm32-unknown-unknown
with wasm-pack
.
Pre-compiled wasm module is available on npmjs.com
You can run this crate on your browser. For more details, see wasm module's README.
This library can be called from the Python world. For more details, see python module's README.
The goals of this library are as follows.
This software is maintained by YuukiToriyama. If you have any questions, please create a new issue.
This software was inspired
by @geolonia/normalize-japanese-addresses.
In addition, the parsing process uses Geolonia 住所データ which is
provided by 株式会社Geolonia.
This crate is distributed under the terms of the MIT license.