xmpp-rs/tokio-xmpp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonas Schäfer bda08407b0 xmlstream: remove T: AsXml bound from XmlStream type
While the FromXml bound is necessary for the key implementation of the
XmlStream (the `impl Stream`), the AsXml bound is not as intrinsic: the
Sink implementation can take any AsXml implementation on each separate
send invocation.

By removing this bound, we can add extra logic *only* to the parsing,
without having to worry about effects on the sending side.

Concretely, we'll be able to create a wrapper type for XmppStreamElement
which allows us to capture errors during parsing, without having to
worry about what happens during serialisation.
2026-06-06 14:11:55 +02:00
..
examples tokio-xmpp: add option to set custom hickory resolver 2026-05-24 20:07:42 +00:00
src xmlstream: remove T: AsXml bound from XmlStream type 2026-06-06 14:11:55 +02:00
.gitignore Prepare for merge: Move all tokio-xmpp files into tokio-xmpp/ 2019-10-18 14:16:01 +02:00
Cargo.toml Bump all outdated dependencies 2026-05-21 13:26:08 +02:00
ChangeLog xmlstream: remove T: AsXml bound from XmlStream type 2026-06-06 14:11:55 +02:00
logo.svg Prepare for merge: Move all tokio-xmpp files into tokio-xmpp/ 2019-10-18 14:16:01 +02:00
README.md tokio-xmpp: remove obsolete TODOs 2020-03-16 00:11:52 +01:00

TODO

  • allow tls verify customization
  • more tests