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

aws-ip-ranges

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

275 breaking releases

new 0.277.0 May 17, 2024
0.275.0 May 16, 2024
0.167.0 Mar 30, 2024
0.42.0 Dec 29, 2023
0.14.0 Nov 30, 2023

#1004 in Network programming

Download history 129/week @ 2024-01-25 99/week @ 2024-02-01 62/week @ 2024-02-08 1497/week @ 2024-02-15 1063/week @ 2024-02-22 1420/week @ 2024-02-29 2127/week @ 2024-03-07 1305/week @ 2024-03-14 1150/week @ 2024-03-21 1470/week @ 2024-03-28 2674/week @ 2024-04-04 2311/week @ 2024-04-11 2104/week @ 2024-04-18 2254/week @ 2024-04-25 2308/week @ 2024-05-02 1522/week @ 2024-05-09

8,783 downloads per month

MIT/Apache

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