Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/boydjohnson/usaddress-rs

Parse US addresses with Rust.
https://github.com/boydjohnson/usaddress-rs

Last synced: 11 days ago
JSON representation

Parse US addresses with Rust.

Awesome Lists containing this project

README

        

# Rust port of [usaddress](https://github.com/datamade/usaddress)

## Install

```
cargo install usaddress
```
or

```
[dependencies]
usaddress = "0.1"
```

## Contains a binary that can tag an address

```bash
usaddress "170th St and Broadway Ave New York, NY 10033"

170thStandBroadwayAveNewYork,NY10033
```

or usage of the library

```rust

match usaddress::parse("170th St and Broadway Ave New York, NY 10033") {
Ok(tagged_addresses) => {
...
},
Err(e) => {
...
}
}
```