From d8498437c3df74764ecec8c825629643987d1efc Mon Sep 17 00:00:00 2001
From: Paul Fariello <paul@fariello.eu>
Date: Sat, 10 Apr 2021 14:36:12 +0200
Subject: [PATCH] Add Eq and Hash for disco::Feature

---
 xmpp-parsers/src/disco.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xmpp-parsers/src/disco.rs b/xmpp-parsers/src/disco.rs
index 3a1890d..1bdb7a0 100644
--- a/xmpp-parsers/src/disco.rs
+++ b/xmpp-parsers/src/disco.rs
@@ -26,6 +26,7 @@ attributes: [
 impl IqGetPayload for DiscoInfoQuery {}
 
 generate_element!(
+#[derive(Eq, Hash)]
 /// Structure representing a `<feature xmlns='http://jabber.org/protocol/disco#info'/>` element.
 Feature, "feature", DISCO_INFO,
 attributes: [