#aws #github-actions #const #structs #data #json #update

aws-ip-ranges

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

794 breaking releases

new 0.975.0 Jan 15, 2025
0.973.0 Jan 14, 2025
0.964.0 Dec 27, 2024
0.928.0 Nov 29, 2024
0.14.0 Nov 30, 2023

#650 in Network programming

Download history 1185/week @ 2024-09-25 2169/week @ 2024-10-02 2085/week @ 2024-10-09 2613/week @ 2024-10-16 1264/week @ 2024-10-23 1424/week @ 2024-10-30 1444/week @ 2024-11-06 1758/week @ 2024-11-13 2130/week @ 2024-11-20 1136/week @ 2024-11-27 2029/week @ 2024-12-04 1165/week @ 2024-12-11 1055/week @ 2024-12-18 231/week @ 2024-12-25 55/week @ 2025-01-01 973/week @ 2025-01-08

2,505 downloads per month

MIT/Apache

92KB
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