An open API service indexing awesome lists of open source software.

https://github.com/turbo87/aws-ip-ranges

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

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          

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

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

```rust
fn main() {
let ip_ranges = aws_ip_ranges::IP_RANGES;
println!("{ip_ranges:#?}");
}
```

License
------------------------------------------------------------------------------

This project is licensed under either of

- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
)

- MIT license ([LICENSE-MIT](LICENSE-MIT) or
)

at your option.