Commit graph

8 commits

Author SHA1 Message Date
c8d7602bd4 xmpp: only specify "fs" dep for tokio
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-18 12:10:55 +02:00
a59c618ed0 xmpp: HTTP File Upload
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>
2022-04-18 12:10:55 +02:00
Emmanuel Gil Peyrot
46c2b384e2 xmpp: Bump xmpp-parsers 2022-03-07 13:15:08 +01:00
f0b302da1f
xmpp: Proxy tls-rust
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-25 18:52:48 +01:00
Astro
48ce51b4ad tokio-xmpp: release 3.0.0 2021-01-13 17:28:03 +01:00
Emmanuel Gil Peyrot
1e8d3c39bf xmpp-parsers: Release version 0.18.0 2021-01-13 00:39:16 +01:00
Emmanuel Gil Peyrot
c3783a77b6 xmpp: Use tokio 1.0 2020-12-30 03:18:17 +01:00
Emmanuel Gil Peyrot
714d850e69 Remove the -rs suffix of jid, minidom and xmpp
We know those are Rust libraries, no need to add it to the path.  This
synchronises their directory with the crate name, hopefully reducing
confusion.
2020-06-22 02:17:32 +02:00
Renamed from xmpp-rs/Cargo.toml (Browse further)