Commit graph

13 commits

Author SHA1 Message Date
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
6794b34714 Cargo.toml: Update minidom to 0.4.3 to use its new IntoAttributeValue implementation on numbers. 2017-05-27 23:18:15 +01:00
Emmanuel Gil Peyrot
ecd98251bf rsm: Remove useless clones. 2017-05-24 21:44:35 +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
a4f50f2d43 jingle_ibb, ibb, rsm: Simplify attribute parsing. 2017-05-21 16:08:25 +01:00
Emmanuel Gil Peyrot
3c083709cb rsm, ibb: Write and use a macro to parse attributes. 2017-05-21 16:03:17 +01:00
Emmanuel Gil Peyrot
16899f8c23 rsm: Add a test for <first/>. 2017-05-21 15:41:16 +01:00
Emmanuel Gil Peyrot
61839042bd rsm: Split First into two options, and generate Set earlier during parsing. 2017-05-21 15:30:22 +01:00
Emmanuel Gil Peyrot
967d4af843 rsm: Rename First id to make it more explicit. 2017-05-19 02:58:18 +01:00
Emmanuel Gil Peyrot
de8fe4bf02 rsm: Switch to Into/TryFrom. 2017-05-06 20:14: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
72a6eee2fd Add a RSM parser and serialiser. 2017-04-29 04:37:18 +01:00