A type-safe Rust XMPP library.
Find a file
Emmanuel Gil Peyrot 6ccc5ccace tokio-xmpp: Poll packets in a loop
This needs to be a loop in order to ignore packets we don’t care about,
or those we want to handle elsewhere.  Returning something isn’t correct
in those two cases because it would signal to tokio that the XMPPStream
is also done, while there could be additional packets waiting for us.

The proper solution is thus a loop which we exit once we have something
to return.

Fixes a deadlock when we ignore some packets.
2023-06-21 11:55:42 +00:00
jid jid: Better docs for those types 2023-06-20 21:21:06 +02:00
minidom minidom/examples: silence warning on unused property in struct 2023-06-01 16:25:38 +02:00
parsers xmpp-parsers: Fix size tests on 32-bit 2023-06-20 18:59:26 +02:00
tokio-xmpp tokio-xmpp: Poll packets in a loop 2023-06-21 11:55:42 +00:00
xmpp xmpp: Update to the new jid crate 2023-06-20 18:59:26 +02:00
.gitignore Hello world! 2019-03-21 18:43:27 +01:00
.gitlab-ci.yml Include libicu-dev in CI images 2023-06-06 01:07:19 +02:00
Cargo.toml icu: Remove this obsolete attempt 2023-06-20 19:59:16 +02:00
LICENSE Readd global LICENSE file 2020-02-25 22:13:34 +01:00
README.md README: add lib descriptions 2020-04-23 23:19:37 +02:00

xmpp-rs

What's this?

A very much WIP set of rust XMPP library with the goals of being type-safe and well-tested.

  • xmpp-rs provides a high-level API for the protocol. You shouldn't need to know about the protocol to use it.
  • tokio-xmpp is a lower-level library that handles the XMPP stream(s).
  • xmpp-parsers parses XML into Rust and back.
  • minidom is a DOM library quite specific for XMPP
  • jid is a Jid parsing library.

Contact

There is an XMPP MUC for the discussion of this library, feel free to join! :)

chat@xmpp.rs

License

Mozilla Public License 2 (MPL2). See the LICENSE file.