Emmanuel Gil Peyrot
6f497027f5
macros: Remove use requirement on minidom::Element.
2018-05-14 16:17:21 +02:00
Emmanuel Gil Peyrot
292cdd059c
macros: Remove use requirement on try_from::TryFrom.
2018-05-14 16:07:15 +02: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
66fb8fea74
message_correct: Use the new helper macros to simplify parsing.
2017-10-10 18:00:15 +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
6952f3adfc
message_correct: Check for unwanted attributes.
2017-05-24 21:42:29 +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
4f11a067d8
message_correct: Switch to Into/TryFrom.
2017-05-06 20:16:45 +01:00
Emmanuel Gil Peyrot
407e4cceb4
License the project under MPL-2.0.
2017-04-29 22:14:34 +01:00
Emmanuel Gil Peyrot
7e964b167a
message_correct: Add a serialise function, and simplify the representation.
2017-04-23 03:23:13 +01:00
Emmanuel Gil Peyrot
8fba5cf966
Add a Last Message Correction parser.
2017-04-21 02:07:44 +01:00