A type-safe Rust XMPP library.
Maxime “pep” Buquet
a59c618ed0
Implement XEP-0363 HTTP File Upload in xmpp-rs. The current interface is as is because of a limitation of our libraries. It is not possible to await on an IQ to get a result, so we have to workaround it by storing data on the Agent and fetching it back when we get the result. The client will have to first call `upload_file_with` and then listen on Event::HttpUploadedFile, which are decoupled actions, instead of awaiting on upload_file_with and getting the URL as a result directly. `upload_file_with` doesn't yet find the upload service by itself for the same reason as above. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> |
||
---|---|---|
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.