mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
A type-safe Rust XMPP library.
6ccc5ccace
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. |
||
---|---|---|
jid | ||
minidom | ||
parsers | ||
tokio-xmpp | ||
xmpp | ||
.gitignore | ||
.gitlab-ci.yml | ||
Cargo.toml | ||
LICENSE | ||
README.md |
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 XMPPjid
is a Jid parsing library.
Contact
There is an XMPP MUC for the discussion of this library, feel free to join! :)
License
Mozilla Public License 2 (MPL2). See the LICENSE file.