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
5ec921fa6f
attention: Add missing unknown attribute check.
2017-07-20 20:11:00 +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
16e43c0b01
Convert all of the parsers/serialisers into consuming their parameter.
2017-05-23 23:31:33 +01:00
Emmanuel Gil Peyrot
765e8c3333
attention: Replace parse_* and serialise with TryFrom<Element> and Into<Element>.
2017-05-01 23:49:44 +01:00
Emmanuel Gil Peyrot
407e4cceb4
License the project under MPL-2.0.
2017-04-29 22:14:34 +01:00
Emmanuel Gil Peyrot
54f4040251
attention: Simplify the payload type, and add a serialise function.
2017-04-23 03:20:52 +01:00
Emmanuel Gil Peyrot
458099cef0
Add an attention parser.
2017-04-21 01:53:47 +01:00