Jonas Schäfer
3cbc7ffacd
Publish the starttls helper function
...
Without it, it seems impossible to start TLS on an XMPPStream object,
preventing any use of that object on its own (not wrapped into
AsyncClient or somesuch).
2022-02-08 20:20:27 +00:00
Emmanuel Gil Peyrot
014582461e
extdisco: Use the correct size of Service on 32-bit platforms
...
This has been tested on my Wii U.
2022-02-02 15:03:54 +01:00
Emmanuel Gil Peyrot
f2af82718e
bookmarks2: Simplify the type of the extensions
2022-01-03 12:34:24 +01:00
Emmanuel Gil Peyrot
1cc16e65db
dataforms: Add helper constructors for Field and DataForm.
2022-01-03 11:53:52 +01:00
Bastien Orivel
56363714fb
Update quick-xml to 0.22 and bump version
2021-12-28 16:04:12 +00:00
dc6dd19a44
parsers: http_upload: allow any case header
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-28 15:24:17 +00:00
9b6fcd1bd7
parsers: http_upload: add tests
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-28 15:24:17 +00:00
ee01d12838
parsers: http_upload: Make Header an enum as required per the XEP
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-28 15:24:17 +00:00
94cf8afdff
parsers: XEP-0363: HTTP File Upload
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-28 15:24:17 +00:00
Emmanuel Gil Peyrot
e4d20c47bb
parsers: Only warn on missing docs
...
Erroring out was making us add /// TODO to avoid the error, and that is
much less visible than a warning.
2021-12-27 12:30:57 +01:00
Emmanuel Gil Peyrot
9401b79a02
parsers/extdisco: Document missing TODOs.
2021-12-27 12:30:06 +01:00
63733885d2
CI: Show rustc and cargo version
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-27 01:22:53 +01:00
f0b302da1f
xmpp: Proxy tls-rust
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-25 18:52:48 +01:00
Emmanuel Gil Peyrot
1a03588bdb
xmpp-parsers: Bump all hash crates.
2021-12-25 14:55:45 +01:00
Emmanuel Gil Peyrot
edba9c9f5d
tokio-xmpp: Remove an unwrap() in DNS name parsing
2021-12-01 19:13:31 +00:00
Emmanuel Gil Peyrot
4a8bda1287
tokio-xmpp: Bump dependencies
...
This removes the pest, semver-parser and ucd-trie transitive
dependencies.
2021-12-01 19:13:31 +00:00
Emmanuel Gil Peyrot
7ddf5e5c33
minidom: Replace IPv4 test with IPv6
...
This makes the tests pass again on nightly, and avoids using legacy IP
while we have glorious IPv6 support everywhere nowadays.
See also https://github.com/rust-lang/rust/issues/90199
2021-12-01 18:21:34 +01:00
Astro
4766a01d01
tokio-xmpp: release 3.1.0
2021-11-23 19:06:09 +01:00
16292e1e6f
minidom: specify again that we handle XMPP primarily
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-11-14 14:32:19 +01:00
Emmanuel Gil Peyrot
8ddd488b7f
parsers/ssma: Use an enum for @semantics.
...
This one comes from RFC5588.
2021-10-23 15:56:18 +02:00
Emmanuel Gil Peyrot
b30572612b
parsers/ssma: ssrc-id is actually an u32.
...
Now that this XEP has an XML schema[1], it should be more evident.
[1] https://github.com/xsf/xeps/pull/1120
2021-10-23 15:44:02 +02:00
Emmanuel Gil Peyrot
7bdf7656eb
parsers/hdrext: Parse the @id as u16 instead of String
...
The specification says it can only be in the 1-256, 4096-4351 ranges, so
use the closest type available. This doesn’t validate that the value is
correct, but that will be done in a future commit.
Thanks gst-meet for making me notice this issue!
2021-10-23 12:26:19 +02:00
Emmanuel Gil Peyrot
3a6cd23166
parsers: Add support for XEP-0215: External Service Discovery
2021-10-15 15:02:28 +00:00
Emmanuel Gil Peyrot
9891cc48ac
jid: Fix the issues reported by clippy
2021-10-11 16:17:09 +02:00
Emmanuel Gil Peyrot
4e914e5d3a
minidom: Fix some issues reported by clippy
2021-10-11 16:17:09 +02:00
Emmanuel Gil Peyrot
464b5de0d0
parsers: Fix some issues reported by clippy.
2021-10-11 16:17:09 +02:00
Jasper Hugo
ebf1091cf1
Handle identical namespaces of sibling elements correctly
...
Fixes #48
2021-10-11 06:34:14 +00:00
Emmanuel Gil Peyrot
9410849d7a
Rename the xmpp-parsers directory to parsers
...
This doesn’t change anything to the name of the crate, just makes
autocompletion easier by not sharing the same prefix as the xmpp crate.
2021-10-11 08:24:16 +02:00
Paul Fariello
204b1f38eb
Fix Element::ns() doc
2021-10-06 18:47:46 +02:00
Emmanuel Gil Peyrot
20e4bc455a
xmpp-parsers/mam: Split into mam_prefs following XEP-0411
2021-09-29 20:21:05 +02:00
Paul Fariello
d8498437c3
Add Eq and Hash for disco::Feature
2021-09-02 01:22:15 +00:00
fe2a94456c
tokio-xmpp: remove deny(unused) as long as it breaks nightly
...
Find a way to make it conditional on stable or something? Is that even
possible?
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-09-02 03:21:56 +02:00
Tobias Bieniek
1ef8b5428b
CHANGELOG: Add missing line breaks
...
Without these line breaks the changelog is rendered incorrectly
2021-07-31 09:11:48 +00:00
moparisthebest
6fc016c006
Add into_inner() to tokio_xmpp::SimpleClient
2021-03-24 02:26:04 -04:00
Paul Fariello
15255a6b30
Extend build fix workaround from 1.48 to 1.46
2021-03-08 14:50:04 +00:00
Paul Fariello
8d3c7a3bd6
Add TLS server roots from webpki
2021-02-18 02:38:32 +00:00
Paul Fariello
ae52f6444d
Add support for both rustls and tlsnative
2021-02-18 02:38:32 +00:00
Paul Fariello
3d53baf128
Impl MessagePayload for PubSubEvent
2021-01-18 08:52:46 +01:00
Astro
48ce51b4ad
tokio-xmpp: release 3.0.0
2021-01-13 17:28:03 +01:00
Astro
acdc48072d
tokio-xmpp: extend authors in Cargo.toml
2021-01-13 17:22:31 +01:00
Emmanuel Gil Peyrot
d9994921d9
xmpp-parsers: Release version 0.18.1
2021-01-13 11:46:05 +01:00
Emmanuel Gil Peyrot
c94c95de0e
jid: Release 0.9.2
2021-01-13 11:46:05 +01:00
Emmanuel Gil Peyrot
aaacb2ecf3
minidom: Release 0.13.0
...
0.12.1 is to be yanked, it contained breaking changes.
2021-01-13 11:46:05 +01:00
Emmanuel Gil Peyrot
1e8d3c39bf
xmpp-parsers: Release version 0.18.0
2021-01-13 00:39:16 +01:00
Emmanuel Gil Peyrot
5d48386ade
xmpp-parsers/bookmarks2: Bump XEP-0402 version in DOAP and ChangeLog.
2021-01-13 00:38:32 +01:00
Emmanuel Gil Peyrot
dffaf482bf
xmpp-parsers: Add ChangeLog entry for 0.18.0
2021-01-13 00:38:32 +01:00
Emmanuel Gil Peyrot
3e4b6b55c9
jid: Release 0.9.1
2021-01-13 00:33:26 +01:00
Emmanuel Gil Peyrot
e2cf83ab13
minidom: Release 0.12.1
2021-01-13 00:32:53 +01:00
Paul Fariello
5463a0aa99
Srv entry is no longer optional when using connect_with_srv
2021-01-12 23:17:34 +01:00
Paul Fariello
7b4a6e3ace
Use ServerConfig enum for tokio-xmpp client config
...
And expose connect_to_host from happy_eyeballs to let clients explicitly
choose to use SRV or not. (Rename connect to connect_with_srv)
2021-01-12 23:17:34 +01:00