Emmanuel Gil Peyrot
a0b1d93ff0
stanza_id: Split the stupid enum into two different structs.
2017-07-29 03:51:41 +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
16e43c0b01
Convert all of the parsers/serialisers into consuming their parameter.
2017-05-23 23:31:33 +01:00
Emmanuel Gil Peyrot
8c53d6e415
stanza_id: Use the new get_attr! macro to get attributes.
2017-05-21 20:56:04 +01:00
Emmanuel Gil Peyrot
7ebabf7e91
stanza_id: Switch to Into/TryFrom.
2017-05-06 20:10:35 +01:00
Emmanuel Gil Peyrot
407e4cceb4
License the project under MPL-2.0.
2017-04-29 22:14:34 +01:00
Emmanuel Gil Peyrot
8b964df645
Add a stanza-id parser and serialiser.
2017-04-29 03:23:50 +01:00