Commit graph

15 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
9410849d7a Rename the xmpp-parsers directory to parsers
This doesn’t change anything to the name of the crate, just makes
autocompletion easier by not sharing the same prefix as the xmpp crate.
2021-10-11 08:24:16 +02:00
Emmanuel Gil Peyrot
20e4bc455a xmpp-parsers/mam: Split into mam_prefs following XEP-0411 2021-09-29 20:21:05 +02:00
Emmanuel Gil Peyrot
f34897b198 xmpp-parsers: Prefer Bare/FromJid::new to FromStr::from_str. 2020-12-10 21:13:55 +01:00
Emmanuel Gil Peyrot
71b995731a xmpp-parsers/mam: Use .is_empty() instead of Vec’s PartialEq. 2020-12-10 20:45:01 +01:00
fd158d9a08 parsers: rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-21 22:23:36 +02:00
6308250c17 parsers: update for minidom API changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-21 22:23:36 +02:00
fbb0edd93b parsers: cleanup warnings about errors and unused stuff
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-22 00:50:56 +01:00
Paul Fariello
34a87e22a8 Fix fmt 2019-12-30 11:28:52 +01:00
Paul Fariello
6b14b593d3 Add serialization test for pubsub publish-options and options element 2019-12-30 11:20:37 +01:00
Paul Fariello
ce49b918c6 Add serialization test for mam result and fin element 2019-12-30 11:20:37 +01:00
Paul Fariello
0d879eb231 Add more test on Optionnal, Required children serialization 2019-12-30 11:20:37 +01:00
Paul Fariello
3a2027411e mam: Fix test on serialisation 2019-12-01 03:16:24 +01:00
f3a18711e6
parsers/mam: add ignored failing test for serialization
Add failing test for #20. Thanks Paul.
Now that needs fixing..

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-11-22 17:34:53 +01:00
a104ebc3f6
Rustfmt pass, and rustfmt --check in CI"
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-23 01:36:02 +02:00
dc76f296de
Prepare for merge: Move all xmpp-parsers files into xmpp-parsers/
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-18 13:47:10 +02:00
Renamed from src/mam.rs (Browse further)