Add a hash parser.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-21 04:21:16 +01:00
commit ea2ff8a35d
3 changed files with 72 additions and 0 deletions

View file

@ -31,6 +31,9 @@ pub const MEDIA_ELEMENT: &'static str = "urn:xmpp:media-element";
/// XEP-0224: Attention
pub const ATTENTION: &'static str = "urn:xmpp:attention:0";
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
pub const HASHES: &'static str = "urn:xmpp:hashes:2";
/// XEP-0308: Last Message Correction
pub const MESSAGE_CORRECT: &'static str = "urn:xmpp:message-correct:0";