Emmanuel Gil Peyrot
d1d98ff3d5
Use crate::Element instead of minidom::Element.
...
This makes refactoring much easier.
2019-09-25 10:28:44 +02:00
Emmanuel Gil Peyrot
46522ceb19
Add a new client certificate management parser (XEP-0257).
2019-09-08 15:53:55 +02:00
Emmanuel Gil Peyrot
ff77f6141f
Cleanup a1ae45add8
a bit.
2019-09-06 16:08:35 +02:00
a1ae45add8
Update minidom dependency to 0.11
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-06 10:57:50 +02:00
Emmanuel Gil Peyrot
c77221e437
macros: Allow non-String in generate_elem_id!().
2019-09-05 15:34:21 +02:00
Emmanuel Gil Peyrot
2234bb76f2
macros, pubsub: Fix build failure introduced in the previous commit.
2019-07-17 22:30:49 +02:00
Emmanuel Gil Peyrot
5bf14b0b22
Drop dependency on try_from.
...
This bumps the minimum supported stable Rust version to 1.34.
The TryFrom and TryInto traits are still reexported to not break the
API, but these reexports are deprecated and will be removed in a future
release.
2019-04-12 11:06:03 +02:00
Emmanuel Gil Peyrot
ba875cfd2a
jingle_rtp: Put Channel code into a macro, to generate it automatically.
2019-02-28 03:10:21 +01:00
Emmanuel Gil Peyrot
b56582c8b5
disco: Use a macro for <identity/>.
2019-02-28 02:26:10 +01:00
Emmanuel Gil Peyrot
ae3a5b6725
macros: Remove backwards-compatibility variants introduced in the previous commit.
2019-02-24 20:48:19 +01:00
Emmanuel Gil Peyrot
bcd42a26e3
macros: Use a nicer syntax when declaring attributes.
...
The previous version had a => required|optional|default token, this was
duplicating information for Option types and didn’t look very good.
This new version looks like a type, which can be either Required<_>,
Option<_> or Default<_>, and means the same thing.
2019-02-24 20:26:42 +01:00
Emmanuel Gil Peyrot
d811c10ed3
pubsub: Make Item common to both pubsub and pubsub#event namespaces.
2019-01-27 18:57:25 +01:00
Emmanuel Gil Peyrot
409a1dafa9
Move Error, helpers and macros into a util module.
2019-01-13 12:39:51 +01:00