parco-geocodio

Crates.ioparco-geocodio
lib.rsparco-geocodio
version0.1.3
created_at2026-01-04 00:21:19.776448+00
updated_at2026-01-08 20:14:47.174888+00
descriptionParco Geocoding
homepagehttps://github.com/williamcparks/parco-geocodio
repositoryhttps://github.com/williamcparks/parco-geocodio
max_upload_size
id2021014
size58,458
(williamcparks)

documentation

README

Geocodio (Rust)

A small, async Rust client for the Geocodio API, built on top of reqwest with a type-safe builder API.

This library is intentionally minimal and focuses on:

  • Explicit client construction
  • A fluent geocode request builder
  • Strongly typed error handling

Constructing A Client

use geocodio::GeocodioClient;

let http_client = reqwest::Client::new();

let geocodio = GeocodioClient::builder()
    .client(http_client)
    .api_key("YOUR_API_KEY")
    .build();

Geocoding An Address

let result = geocodio
    .geocode()
    .address("1600 Pennsylvania Ave NW, Washington, DC")
    .build()
    .send()
    .await?;
Commit count: 6

cargo fmt