Link Mauve
6d18641ace
xmpp-parsers: Add support for <bandwidth/> in Jingle RTP Description
...
This was missing according to the specification, but I have never seen
it used in the wild.
2026-02-21 11:40:46 +01:00
Link Mauve
dbe7925d83
xmpp-parsers: Use #[xml(flag)] for rtcp-mux
...
Also test that it gets deserialized correctly.
2026-02-21 11:36:35 +01:00
Link Mauve
8c2b1df7f7
xmpp-parsers: Fix the type of jingle_rtp/ssrc to u32
...
XEP-0167 has been updated to version 1.2.3, to change the type of the
'ssrc' attribute to u32 (from String). This is in accordance with
RFC 3550 (RTP), which defines it as a randomly-chosen 32-bit unsigned
integer.
Additionally, the docstring was completely wrong.
2025-12-03 12:26:30 +01:00
Emmanuel Gil Peyrot
57c2eeadfc
xmpp-parsers: Convert Jingle RTP to xso
2024-08-05 15:02:25 +00:00
Emmanuel Gil Peyrot
7b66de1166
xmpp-parsers: Stop reexporting extra symbols
...
Let’s continue reexporting jid and minidom, but not their inner pub
items, users of this crate can go one level deeper if they need that.
Only xso::error::Error is still useful to reexport, as this is part of
the public API of all of our parsers.
2024-07-25 14:36:09 +00:00
Jonas Schäfer
ccf38cdf9b
Port everything over to AsXml
2024-07-24 16:05:06 +02:00
Jonas Schäfer
0e4865006c
parsers: port more elements to derive macros
2024-06-30 13:14:06 +02:00
Jonas Schäfer
bc785fde28
parsers: replace generate_empty_element with derive
2024-06-23 12:20:02 +02:00
Maxime “pep” Buquet
4089891f6c
Update edition to 2021
...
- Remove TryFrom/Into and FromIterator imports
- Prevent impl_validator_using_provider macro in sasl crate from
constructing trait object
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-15 19:40:09 +00:00
Maxime “pep” Buquet
afcf9fb2d0
parsers: correct cargo doc warnings
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-27 17:36:19 +01:00
Astro
d4a5a8247b
minidom, tokio-xmpp: switch xml parsing to rxml
2022-04-19 20:42:30 +02:00
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