#aws #struct #aws-ip-ranges

aws-ip-ranges

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

984 breaking releases

new 0.1165.0 May 10, 2025
0.1163.0 May 9, 2025
0.1089.0 Mar 31, 2025
0.964.0 Dec 27, 2024
0.14.0 Nov 30, 2023

#261 in Network programming

Download history 2107/week @ 2025-01-18 1366/week @ 2025-01-25 1979/week @ 2025-02-01 915/week @ 2025-02-08 1526/week @ 2025-02-15 2504/week @ 2025-02-22 1325/week @ 2025-03-01 1704/week @ 2025-03-08 1484/week @ 2025-03-15 1616/week @ 2025-03-22 1671/week @ 2025-03-29 1936/week @ 2025-04-05 2080/week @ 2025-04-12 1487/week @ 2025-04-19 2497/week @ 2025-04-26 1763/week @ 2025-05-03

8,213 downloads per month

MIT/Apache

96KB
135 lines

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.

No runtime deps