mirror of
https://github.com/icewind1991/warp-real-ip.git
synced 2026-08-02 16:24:58 +02:00
Allow specifying IP networks for permitted proxies in place of IP addresses.
This commit is contained in:
parent
75a2f210c9
commit
c6af4e7ae9
4 changed files with 45 additions and 5 deletions
|
|
@ -13,6 +13,7 @@ documentation = "https://docs.rs/warp-real-ip"
|
|||
[dependencies]
|
||||
warp = { version = "0.3" }
|
||||
rfc7239 = "0.1"
|
||||
ipnetwork = "~0.18"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.0", features = ["macros"] }
|
||||
tokio = { version = "1.0", features = ["macros"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue