allowlist-rs

Crates.ioallowlist-rs
lib.rsallowlist-rs
version0.1.0
created_at2025-08-23 17:13:43.67762+00
updated_at2025-08-23 17:13:43.67762+00
descriptionValidate requests against a list of known IPv4 host addresses
homepage
repositoryhttps://github.com/colwill/allowlist-rs
max_upload_size
id1807686
size10,942
Aaron Colwill (colwill)

documentation

README

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"
Commit count: 3

cargo fmt