Emmanuel Gil Peyrot
69cc83c456
message, iq, presence, stanza_error, forwarded: Add support for components hidden behind the component feature flag.
2017-07-29 06:49:02 +01:00
Emmanuel Gil Peyrot
99b9525e6f
Update to jid-rs 0.2.3, which implements IntoAttributeValue on Jid.
2017-07-29 06:28:20 +01:00
Emmanuel Gil Peyrot
db35d28c9c
ibb: Split the stupid enum into three different structs.
2017-07-29 03:44:35 +01:00
Emmanuel Gil Peyrot
21cee25b27
Replace .and_then() with .map() wherever it makes sense.
2017-07-21 01:19:34 +01:00
Emmanuel Gil Peyrot
87af0f3615
message, presence, iq: Improve documentation.
2017-07-20 23:10:13 +01:00
Emmanuel Gil Peyrot
f6f6faeb77
iq, jingle_ft: Simplify item counting with Iterator::count().
2017-07-20 23:08:23 +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
0fcbf11644
iq: Split IqPayload into all three possible types.
2017-07-20 18:31:17 +01:00
Emmanuel Gil Peyrot
76a46559b8
disco: Split query and result.
2017-07-20 17:39:59 +01:00
Emmanuel Gil Peyrot
073e208f06
iq: Wire up Roster.
2017-05-28 17:12:46 +01:00
Emmanuel Gil Peyrot
8182213666
iq: Reintroduce a reference Into to get the type from the payload.
2017-05-24 21:35:09 +01:00
Emmanuel Gil Peyrot
21b92621f0
iq, message: Remove useless clone on unknown element.
2017-05-24 21:32:04 +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
d61d09f5b7
hashes, presence, message, iq, disco: Use get_attr!.
2017-05-22 19:00:04 +01:00
Emmanuel Gil Peyrot
d680c31cf9
iq, message: Wire up MAM to the payloads.
2017-05-19 02:58:35 +01:00
Emmanuel Gil Peyrot
2b8bcebfd9
message, iq, presence: Return an Unknown instead of an error when the element is unknown.
2017-05-19 02:09:23 +01:00
Emmanuel Gil Peyrot
dcb7ac8db2
iq: Remove a panic!
2017-05-19 00:10:23 +01:00
Emmanuel Gil Peyrot
6df3c4a679
iq: Remove a bunch of clones.
2017-05-19 00:07:51 +01:00
Emmanuel Gil Peyrot
65469db1e3
iq: Stop parsing the payload automatically.
2017-05-19 00:04:42 +01:00
Emmanuel Gil Peyrot
4407183010
iq: Move IqPayload parsing into its own Into implementation.
2017-05-18 23:50:08 +01:00
Emmanuel Gil Peyrot
fffaca316f
iq: Switch to Into/TryFrom.
2017-05-06 21:16:56 +01:00
Emmanuel Gil Peyrot
04d90f22ee
stanza_error: Switch to Into/TryFrom.
2017-05-06 21:13:53 +01:00
Emmanuel Gil Peyrot
2b49d8aa53
disco: Switch to Into/TryFrom.
2017-05-06 21:01:15 +01:00
Emmanuel Gil Peyrot
e3acb55b49
ibb: Port to TryFrom/Into.
2017-05-04 23:11:10 +01:00
Emmanuel Gil Peyrot
033cbe777b
ping: Port to TryFrom/Into.
2017-05-04 01:31:13 +01:00
Emmanuel Gil Peyrot
6c4fd8da01
jingle: Update to Into and TryFrom.
2017-05-04 01:20:28 +01:00
Emmanuel Gil Peyrot
c0b7c9da88
iq: Remove unused variable causing a warning.
2017-05-01 01:50:38 +01:00
Emmanuel Gil Peyrot
f3b55350ad
iq: Wire up stanza_error.
2017-05-01 01:23:56 +01:00
Emmanuel Gil Peyrot
407e4cceb4
License the project under MPL-2.0.
2017-04-29 22:14:34 +01:00
Emmanuel Gil Peyrot
45b38bcef9
iq: Wire up the IBB parser and serialiser.
2017-04-29 01:06:12 +01:00
Emmanuel Gil Peyrot
5e4ba2701b
iq: Wire up the Jingle parser and serialiser.
2017-04-28 23:46:06 +01:00
Maxime “pep” Buquet
1b4c0c4589
iq: Clippify
2017-04-24 19:20:35 +01:00
Maxime “pep” Buquet
c462d230f1
ping, iq: Implement ping::serialise_ping and link to Iq.
2017-04-23 21:17:26 +01:00
Maxime “pep” Buquet
b259ab9ef2
iq: Link disco parser to Iq.
2017-04-23 21:12:27 +01:00
Maxime “pep” Buquet
04af2f3d26
Implement Iq stanzas parsing
2017-04-23 20:38:13 +01:00