From 946d5ed93d21b8df7ae592cef794240d63ffd188 Mon Sep 17 00:00:00 2001
From: James Hodgkinson <james@terminaloutcomes.com>
Date: Wed, 23 Apr 2025 14:16:50 +1000
Subject: [PATCH] fix: reintroducing haproxy-protocol

---
 Cargo.lock | 2 +-
 Cargo.toml | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Cargo.lock b/Cargo.lock
index 5ed0a01fe..51d4ce7db 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3228,7 +3228,7 @@ dependencies = [
  "futures",
  "futures-util",
  "haproxy-protocol",
- "hashbrown 0.14.5",
+ "hashbrown 0.15.2",
  "hyper 1.6.0",
  "hyper-util",
  "kanidm_build_profiles",
diff --git a/Cargo.toml b/Cargo.toml
index 2b5dbbb6b..760261d18 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -181,6 +181,7 @@ fs4 = "^0.13.0"
 futures = "^0.3.31"
 futures-util = { version = "^0.3.30", features = ["sink"] }
 gix = { version = "0.71.0", default-features = false }
+haproxy-protocol = { version = "0.0.1", features = ["tokio"] }
 hashbrown = { version = "0.15.2", features = ["serde", "inline-more"] }
 hex = "^0.4.3"
 http = "1.2.0"