Emmanuel Gil Peyrot
637c3eadd7
Fix clippy lints.
2019-02-21 21:00:58 +01:00
Emmanuel Gil Peyrot
409a1dafa9
Move Error, helpers and macros into a util module.
2019-01-13 12:39:51 +01:00
Emmanuel Gil Peyrot
c2b7e19378
Rename "compat" into "disable-validation", to insist on it breaking some guarantees.
2019-01-12 22:00:46 +01:00
Astro
95f4ade4ba
compat mode that relaxes some of the check_* macros
2018-12-30 00:36:29 +01:00
Emmanuel Gil Peyrot
efd7bd5f2f
Run cargo fmt
.
2018-12-18 15:32:05 +01:00
Emmanuel Gil Peyrot
6b2dd8fe5e
Run cargo fix --edition
to move to Edition 2018.
2018-12-18 15:27:30 +01:00
Emmanuel Gil Peyrot
c420c87bf5
muc: Document more constructors.
2018-11-02 16:28:40 +01:00
Emmanuel Gil Peyrot
e5c1be68d0
muc: Add constructors.
2018-11-01 17:25:24 +01:00
Emmanuel Gil Peyrot
e41de29d9d
presence: Make PresencePayload a trait, and implement it on every payload.
2018-09-20 20:51:48 +02:00
Emmanuel Gil Peyrot
16b9291475
muc: Document these modules.
2018-08-08 20:22:37 +02:00
Emmanuel Gil Peyrot
16391e8b5a
muc: Add forgotten <history/> handling.
2018-05-28 18:45:29 +02:00
Emmanuel Gil Peyrot
3fb99988d5
macros: Merge generate_element_with_children!() into generate_element!().
2018-05-28 16:45:13 +02:00
Emmanuel Gil Peyrot
a625b88fce
macros: Merge all element children into a common syntax.
2018-05-28 16:29:51 +02:00
Emmanuel Gil Peyrot
cbef3f6e8d
muc: Add a serialisation test.
2018-05-28 16:24:17 +02:00
Emmanuel Gil Peyrot
93b018e5ac
macros: Remove use requirement on ns.
2018-05-14 16:30:28 +02:00
Emmanuel Gil Peyrot
6bb466eea2
Use check_self!() where it makes sense.
2018-05-12 18:31:11 +02:00
Emmanuel Gil Peyrot
e0438f9b88
jingle_message, muc, presence, version: Always use the check_no_attributes macro.
2018-05-12 17:59:04 +02: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
Maxime “pep” Buquet
27cf9a6298
muc::Muc and muc::MucUser
2017-06-26 23:07:12 +01:00