usaddress

Crates.iousaddress
lib.rsusaddress
version0.1.0
sourcesrc
created_at2021-06-28 16:21:21.109272
updated_at2021-06-28 16:21:21.109272
descriptionParse US Addresses into parts
homepage
repositoryhttps://github.com/boydjohnson/usaddress-rs
max_upload_size
id415805
size160,036
Boyd Johnson (boydjohnson)

documentation

README

Rust port of usaddress

Install

cargo install usaddress

or

[dependencies]
usaddress = "0.1"

Contains a binary that can tag an address

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) => {
        ...
    }
}
Commit count: 10

cargo fmt