# allowlist-rs
Validate requests against a list of known IPv4 host addresses.
That's it, that's all it does. It's quite fast thanks to `core::slice::binary_search` 😎.
## Quick-start
To add as a dependency:
$ `cargo add allowlist-rs`
## Current Provided Lists
**2025-08-23**
- Development / Local List - `dev_sources.txt`
- Stripe Global IP List - `stripe_global_sources.txt`
- Stripe Webhook IP List - `stripe_webhook_sources.txt`
## Contributors
Build the project by running $ `make all` which will run benchmarks and tests, producing release build. Cargo timings are also produced for cargo based builds.
**To add a new allow list**
```
Contributors can add to this list by creating a PR for a new file in "./data"
```