Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/boydjohnson/usaddress-rs
- Owner: boydjohnson
- License: apache-2.0
- Created: 2021-06-17T18:07:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-23T20:38:21.000Z (almost 3 years ago)
- Last Synced: 2024-10-13T14:42:10.896Z (about 1 month ago)
- Language: Rust
- Homepage:
- Size: 72.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
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) => {
...
}
}
```