Add a roster parser/serialiser.

This commit is contained in:
Emmanuel Gil Peyrot 2017-05-28 16:30:43 +01:00
commit aae435c4d9
4 changed files with 298 additions and 0 deletions

View file

@ -9,6 +9,9 @@ pub const JABBER_CLIENT: &'static str = "jabber:client";
/// RFC 6120: Extensible Messaging and Presence Protocol (XMPP): Core
pub const XMPP_STANZAS: &'static str = "urn:ietf:params:xml:ns:xmpp-stanzas";
/// RFC 6121: Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence
pub const ROSTER: &'static str = "jabber:iq:roster";
/// XEP-0004: Data Forms
pub const DATA_FORMS: &'static str = "jabber:x:data";