jid: Add serde support behind feature

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-04-30 23:19:06 +02:00
commit 36aaa3e681
No known key found for this signature in database
GPG key ID: DEDA74AEECA9D0F2
5 changed files with 12 additions and 0 deletions

View file

@ -20,3 +20,4 @@ gitlab = { repository = "xmpp-rs/xmpp-rs" }
[dependencies]
minidom = { version = "0.12", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }