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