This commit is contained in:
Mateusz Gruszczyński committed 2026-11-23 09:31:05 +01:00
1 parent 6e57b9e1b8
commit 7b8c7e93fb
48 files changed
+1010 -116

No files matched your search

+2 -2
View File
@@ -4,8 +4,8 @@
//! * [`RateLimiter`] – per-client token buckets with a global ceiling,
//! * [`BlockPolicy`] – allow/block lists with exact, suffix, wildcard and (bounded) regex rules.
//!
//! Processing order (documented in docs/security.md): rate limit → ACL/view →
//! local zones → allowlist → blocklist → resolution.
//! Processing order (documented in docs/hybrid.md): rate limit → ACL/view →
//! hosts files → local zones → allowlist → blocklist → resolution.
#![cfg_attr(test, allow(clippy::unwrap_used, clippy::expect_used))]
use std::collections::{HashMap, HashSet};