Commit graph

13 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
8aa51bd047 eme: Restore docstrings. 2017-11-01 00:24:23 +00:00
Emmanuel Gil Peyrot
929bd577f3 Add a generate_element_with_only_attributes macro, and use it wherever it makes sense. 2017-10-31 17:58:11 +00:00
Emmanuel Gil Peyrot
a2c7529668 eme: Use the new helper macros to simplify parsing. 2017-10-10 18:10:52 +01:00
Emmanuel Gil Peyrot
7612c53f9a attention, chatstates, eme, ping: Add a docstring on the structs. 2017-07-20 23:47:21 +01:00
Emmanuel Gil Peyrot
487dbdc6de Replace Into<Element> with From<…> for Element.
This allows Element::from() to work, and since Into<Element> is
automatically implemented for any type implementing From there is no
change to existing code.
2017-07-20 20:36:13 +01:00
Emmanuel Gil Peyrot
1f43cd934b Use TryFrom from the try_from crate, instead of the unstable feature.
This makes xmpp-parsers usable on stable.
2017-07-20 20:03:15 +01:00
Emmanuel Gil Peyrot
070227ea03 eme: Remove two clones. 2017-05-25 00:30:00 +01:00
Emmanuel Gil Peyrot
16e43c0b01 Convert all of the parsers/serialisers into consuming their parameter. 2017-05-23 23:31:33 +01:00
Emmanuel Gil Peyrot
e3f1f31718 delay, eme, stanza_error: Use get_attr!. 2017-05-23 01:02:23 +01:00
Emmanuel Gil Peyrot
2b96751e5f eme: Switch to Into/TryFrom. 2017-05-06 21:03:42 +01:00
Emmanuel Gil Peyrot
407e4cceb4 License the project under MPL-2.0. 2017-04-29 22:14:34 +01:00
Emmanuel Gil Peyrot
cebccb363f eme: Add a serialise function. 2017-04-23 03:22:02 +01:00
Emmanuel Gil Peyrot
a680ab194c Add an Explicit Message Encryption parser. 2017-04-21 03:45:05 +01:00