1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-12 11:14:02 +02:00
Commit Graph

20 Commits

Author SHA1 Message Date
Maxime “pep” Buquet
4089891f6c Update edition to 2021
- Remove TryFrom/Into and FromIterator imports
- Prevent impl_validator_using_provider macro in sasl crate from
  constructing trait object

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-15 19:40:09 +00:00
Emmanuel Gil Peyrot
2d11ada30f tokio-xmpp, xmpp: Remove regex support from env_logger
This bloats our binaries by 1.1 MiB after stripping, for very minimal
additional features.  People who need that feature can enable it
themselves.
2023-10-25 18:11:33 +00:00
Maxime “pep” Buquet
edf4347a5a
xmpp: version 0.5.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-21 11:00:27 +02:00
Maxime “pep” Buquet
21c9fa2df4 xmpp: Update to tokio-xmpp 3.4
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
Maxime “pep” Buquet
c6bd89776b xmpp: Use correct feature name for hello_bot example
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
Maxime “pep” Buquet
2e3004f89e CI: Add a test with no-default-features and ensure it passes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-17 23:45:57 +02:00
Maxime “pep” Buquet
8c18eeecd1 Bump version to 0.4.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-18 17:05:20 +02:00
Maxime “pep” Buquet
5d62fc25ae
xmpp: Update homepage url
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-18 16:30:03 +02:00
Maxime “pep” Buquet
663b73f676
xmpp: Remove more useless features
They can be added directly via tokio-xmpp

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-18 16:25:22 +02:00
Maxime “pep” Buquet
ad5806a358
xmpp: ensure cargo fetches 3.x updates for tokio-xmpp
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-18 16:12:52 +02:00
Emmanuel Gil Peyrot
58f6d5494a Bump tokio-xmpp and xmpp dependencies
It still builds and tests pass without any other change.
2023-04-03 12:13:37 +02:00
Maxime “pep” Buquet
8a823af56b
xmpp: Remove unnecessary features
Fixup for 826914da54

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-26 17:41:17 +01:00
Maxime “pep” Buquet
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
Maxime “pep” Buquet
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
Maxime “pep” Buquet
f0b302da1f
xmpp: Proxy tls-rust
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-25 18:52:48 +01:00
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