mirror of
https://github.com/icewind1991/warp-real-ip.git
synced 2026-06-03 18:54:06 +02:00
add support for rfc7239 forwarded
This commit is contained in:
parent
411f7a40a7
commit
d573c92d26
4 changed files with 73 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "warp-real-ip"
|
||||
description = "Warp filter to get the \"real ip\" of the remote client"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
authors = ["Robin Appelman <robin@icewind.nl>"]
|
||||
edition = "2018"
|
||||
keywords = ["warp"]
|
||||
|
|
@ -12,6 +12,7 @@ documentation = "https://docs.rs/warp-real-ip"
|
|||
|
||||
[dependencies]
|
||||
warp = { version = "0.2" }
|
||||
rfc7239 = "0.1"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "0.2", features = ["macros"] }
|
||||
Loading…
Add table
Add a link
Reference in a new issue