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

aws-ip-ranges

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

540 breaking releases

new 0.709.0 Jul 14, 2024
0.696.0 Jul 14, 2024
0.167.0 Mar 30, 2024
0.42.0 Dec 29, 2023
0.14.0 Nov 30, 2023

#736 in Network programming

Download history 1470/week @ 2024-03-24 2397/week @ 2024-03-31 2100/week @ 2024-04-07 2286/week @ 2024-04-14 2097/week @ 2024-04-21 2001/week @ 2024-04-28 2208/week @ 2024-05-05 2910/week @ 2024-05-12 3725/week @ 2024-05-19 2085/week @ 2024-05-26 2269/week @ 2024-06-02 2806/week @ 2024-06-09 2394/week @ 2024-06-16 2969/week @ 2024-06-23 6912/week @ 2024-06-30 7349/week @ 2024-07-07

19,915 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