aws-ip-ranges

Crates.ioaws-ip-ranges
lib.rsaws-ip-ranges
version0.1391.0
created_at2023-11-14 09:42:24.741288+00
updated_at2025-08-29 22:46:40.067146+00
descriptionhttps://ip-ranges.amazonaws.com/ip-ranges.json as const structs
homepage
repositoryhttps://github.com/Turbo87/aws-ip-ranges
max_upload_size
id1034549
size2,044,209
crates-io (github:rust-lang:crates-io)

documentation

README

aws-ip-ranges

https://ip-ranges.amazonaws.com/ip-ranges.json as const structs

Description

If the data from https://ip-ranges.amazonaws.com/ip-ranges.json is used in a Rust program, it can be slow to fetch it every time. This crate provides the data as const structs, so it can be compiled into the program.

An hourly GitHub Actions workflow updates the data in this crate automatically and releases a new version of the crate if the data has changed.

Usage

fn main() {
  let ip_ranges = aws_ip_ranges::IP_RANGES;
  println!("{ip_ranges:#?}");
}

License

This project is licensed under either of

at your option.

Commit count: 1420

cargo fmt