Crates.io | usaddress |
lib.rs | usaddress |
version | 0.1.0 |
source | src |
created_at | 2021-06-28 16:21:21.109272 |
updated_at | 2021-06-28 16:21:21.109272 |
description | Parse US Addresses into parts |
homepage | |
repository | https://github.com/boydjohnson/usaddress-rs |
max_upload_size | |
id | 415805 |
size | 160,036 |
cargo install usaddress
or
[dependencies]
usaddress = "0.1"
usaddress "170th St and Broadway Ave New York, NY 10033"
<AddressString><AddressNumber>170th</AddressNumber><StreetName>St</StreetName><StreetName>and</StreetName><StreetName>Broadway</StreetName><StreetNamePostType>Ave</StreetNamePostType><PlaceName>New</PlaceName><PlaceName>York,</PlaceName><StateName>NY</StateName><ZipCode>10033</ZipCode></AddressString>
or usage of the library
match usaddress::parse("170th St and Broadway Ave New York, NY 10033") {
Ok(tagged_addresses) => {
...
},
Err(e) => {
...
}
}