use-address
Primitive address component vocabulary for RustUse.
use-address provides small descriptive primitives for address lines, street
parts, localities, administrative areas, postal codes, country codes, and
lightweight address metadata.
It models address components. It does not parse free-form addresses, geocode,
reverse geocode, validate against postal services, format via CLDR,
calculate shipping, look up maps, or resolve coordinates.
Relationship to use-locale
use-address models address components and address-oriented metadata.
use-locale models locale identifiers and formatting context.
use-address may carry lightweight formatting hints, but it does not implement
locale-aware address formatting in v0.1.
Non-goals
- address parsing
- geocoding
- reverse geocoding
- postal-service validation
- shipping-rate lookup
CLDRformatting- map lookup
- coordinate resolution
Example
use ;
#