aws-region-nearby

Latest version Documentation CI

A Rust library to find the nearest AWS region to a given location.

Especially useful when you run code at the edge and want fast access to regional AWS services, e.g. Cloudflare Workers accessing DynamoDB global tables. See the worker example.

Many thanks to @tobilg for providing the AWS region coordinates.

Quickstart

Add the crate as a dependency to your Cargo.toml:

toml [dependencies] aws-region-nearby = "=0.0.4-alpha"

Now you can start finding AWS regions.

License

Copyright (c) 2021 Mathias Lafeldt

Licensed under the Apache License, Version 2.0 or the MIT license, at your option.