๐Ÿ“ฆ Turbo87 / aws-ip-ranges

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

โ˜… 1 stars โ‘‚ 1 forks ๐Ÿ‘ 1 watching
๐Ÿ“ฅ Clone https://github.com/Turbo87/aws-ip-ranges.git
HTTPS git clone https://github.com/Turbo87/aws-ip-ranges.git
SSH git clone git@github.com:Turbo87/aws-ip-ranges.git
CLI gh repo clone Turbo87/aws-ip-ranges
Tobias Bieniek Tobias Bieniek v0.1517.0 db0b1f3 2 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ bump_version
๐Ÿ“ data
๐Ÿ“ examples
๐Ÿ“ src
๐Ÿ“„ .gitignore
๐Ÿ“„ build_types.rs
๐Ÿ“„ build.rs
๐Ÿ“„ Cargo.lock
๐Ÿ“„ Cargo.toml
๐Ÿ“„ README.md
๐Ÿ“„ update-data.sh
๐Ÿ“„ README.md

aws-ip-ranges ==============================================================================

**โš ๏ธ DEPRECATED: This crate is no longer maintained. The crates.io project, which was the primary user of this crate, no longer uses it. Consider fetching the data directly from instead.**

as const structs

Description


If the data from 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.