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

aws-ip-ranges

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

772 breaking releases

new 0.953.0 Dec 13, 2024
0.951.0 Dec 11, 2024
0.928.0 Nov 29, 2024
0.760.0 Jul 27, 2024
0.14.0 Nov 30, 2023

#649 in Network programming

Download history 1264/week @ 2024-08-23 1280/week @ 2024-08-30 1632/week @ 2024-09-06 2370/week @ 2024-09-13 1207/week @ 2024-09-20 1203/week @ 2024-09-27 2194/week @ 2024-10-04 2139/week @ 2024-10-11 2109/week @ 2024-10-18 1482/week @ 2024-10-25 1250/week @ 2024-11-01 2108/week @ 2024-11-08 1551/week @ 2024-11-15 1678/week @ 2024-11-22 1707/week @ 2024-11-29 1384/week @ 2024-12-06

6,818 downloads per month

MIT/Apache

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