b8ba74e336
parser: Add helpers on MucUser
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-06-07 18:44:37 +02:00
d0ec8739d5
parsers: impl MessagePayload for MucUser
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-06-07 16:54:20 +02:00
6cd4addc1a
parsers: Add with_payload/with_payloads helpers on Message
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-06-07 16:49:19 +02:00
xmppftw
c8dcf5e7a7
Fix expected struct sizes for nightly optimizations (no more CI warnings)
2023-06-06 09:37:16 +00:00
xmppftw
6fa6deddcb
Message now has constructors for each type, and a with_body builder method ( #78 )
2023-06-03 12:39:55 +02:00
xmppftw
512c1d1aae
Presence now has constructors for each type variant, and a with_payload builder method ( closes #79 )
2023-06-03 08:59:19 +00:00
e8a7d909c1
parsers: derive PartialEq on Iq too
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-30 19:04:33 +02:00
Emmanuel Gil Peyrot
2955a0fe60
parsers: Bump base64
...
Version 0.21 replaced base64::decode() with an Engine trait and multiple
structs implementing it for various alphabets, various performance
profiles, etc. It is slightly longer to import but in the end does the
very same thing.
2023-04-03 11:28:41 +02:00
Emmanuel Gil Peyrot
3ad616945a
parsers: Replace sha-1 with sha1
...
It is the same crate now.
2023-04-03 11:28:41 +02:00
2d5de00749
parsers: Update ChangeLog with feature change
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-16 15:06:35 +01:00
826914da54
parsers, tokio-xmpp: remove unnecessary jid feature alias
...
It can be done directly using `jid = { version = "*", features =
["stringprep"] }` even though jid is imported from another lib.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-15 21:44:27 +01:00
Emmanuel Gil Peyrot
3992c1d4f4
xmpp-parsers: Use some more DOAP properties
...
Both the documentation and the logo are quite important.
2023-01-04 00:36:11 +01:00
Emmanuel Gil Peyrot
26be8e081f
xmpp-parsers: Add the past few releases to the DOAP file
2023-01-04 00:28:21 +01:00
Emmanuel Gil Peyrot
3cfeb0065c
xmpp-parsers: Update the DOAP file
...
The previous releases missed it, oops…
2023-01-04 00:28:21 +01:00
Emmanuel Gil Peyrot
60d6ed5414
xmpp-parsers: Bump base64 to 0.20
2023-01-04 00:23:27 +01:00
Emmanuel Gil Peyrot
6bd407605b
xmpp-parsers: Add Message Reactions (XEP-0444) support
2022-12-30 15:26:37 +01:00
a0e6054eb8
parsers: Update IETF URLs in documentation
...
sed -i -e 's/tools\.ietf\.org\/html/www\.rfc-editor\.org\/rfc/' src/**.rs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-27 17:36:19 +01:00
afcf9fb2d0
parsers: correct cargo doc warnings
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-27 17:36:19 +01:00
200147b551
parsers: Update ChangeLog
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-27 17:36:19 +01:00
f4084bcc83
parsers: with_ helpers for muc::user::Item
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-27 17:36:19 +01:00
92819ccbed
xmpp-parsers: Release 0.19.2
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 21:21:37 +01:00
8fce273929
parsers: Update Changelog for real. And add 0.19.1 changes
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 21:05:39 +01:00
aede544029
parsers: Update Changelog
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 12:19:29 +01:00
82ed8f4991
parsers/muc: Rephrase comment, s/he or she/they/
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 12:09:00 +01:00
f0139b4d88
parsers/muc/user: Add 333 status: Status::ServiceErrorKick
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 12:01:28 +01:00
f8cd3c4fff
parsers/muc/user: Add status code in docstrings
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 11:51:26 +01:00
4244dc2be1
parsers: Conditional on rustc version for test_size tests
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-16 20:30:17 +01:00
309b4cf87d
parsers/presence: derive PartialEq on Presence
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-16 19:26:00 +01:00
b0e5ca0be8
Revert "parsers: Update test_size tests take 2"
...
This reverts commit f3e1160f6e
.
It doesn't fail yet in stable.
2022-12-16 12:59:01 +01:00
6d98ad97cd
parsers: Change deprecated FixedOffset::{east,west} for *_opt
...
For the second call, the doc says that None is returned when secs is
out-of-bound. It looks like it should be alright to unwrap here
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-30 17:21:40 +01:00
f3e1160f6e
parsers: Update test_size tests take 2
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-30 16:39:24 +01:00
4795b2c628
parsers: Update test_size tests
...
Change certainly due to https://github.com/rust-lang/rust/pull/94075
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-30 16:32:18 +02:00
b6b0c5ee52
parsers: cargo fmt the last commit on parsers
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-16 19:57:44 +02:00
a425a039ca
muc/user: impl PresencePayload for MucUser
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
(cherry picked from commit 7e211619e3
)
2022-09-15 09:52:24 +00:00
Astro
947260a1ce
xmpp-parsers: Releae 0.19.1
2022-07-13 20:50:10 +02:00
Jonas Schäfer
ea366c2334
Rip out quick-xml
2022-04-24 13:27:48 +02:00
Jonas Schäfer
0fcb8285c5
Ignore size tests for jingle_ft struct on 32bit architectures
...
Apparently, i686 and AArch32/PowerPC seem to disagree here. So instead
of trying to figure this out now, we just ignore the test.
2022-04-24 13:27:48 +02:00
Jonas Schäfer
96065dc26d
Fix size tests on architectures with 32-bit pointers
2022-04-23 15:31:46 +02:00
Astro
d4a5a8247b
minidom, tokio-xmpp: switch xml parsing to rxml
2022-04-19 20:42:30 +02:00
Emmanuel Gil Peyrot
eb19f8329c
xmpp-parsers: Add forgotten RTT documentation
...
Sorry about that!
2022-04-11 18:59:32 +02:00
Emmanuel Gil Peyrot
95c6b12d9c
xmpp-parsers: Run cargo fmt on legacy_omemo
2022-04-04 21:09:49 +02:00
Yureka
60b848ed5d
parsers: add omemo parsers
2022-04-03 11:39:39 +02:00
Emmanuel Gil Peyrot
e076ba52e2
xmpp-parsers: Add In-Band Real Time Text support
2022-03-22 15:14:43 +00:00
39c7fd2b0c
parsers/bookmarks2: uncomment 'wrapped' test
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-22 15:07:43 +00:00
Emmanuel Gil Peyrot
9e9f484bd9
xmpp-parsers: Simplify trailing comma handling in macros
...
Since Rust 1.32.0 (so basically forever ago) we can use the $(…)?
construct in macros to mean one or zero times this chunk of tokens.
This allows making the last comma optional in lists of things.
2022-03-22 15:59:00 +01:00
Emmanuel Gil Peyrot
ae480880ac
xmpp-parsers: Release 0.19.0
2022-03-07 13:00:04 +01:00
Emmanuel Gil Peyrot
e4907bbc78
xmpp-parsers: Add a README
2022-03-07 12:59:43 +01:00
Emmanuel Gil Peyrot
cacae44fae
xmpp-parsers: Fix ChangeLog entry for 0.18.1
2022-03-07 12:57:06 +01:00
Emmanuel Gil Peyrot
af05e91e75
xmpp-parsers: Add a ChangeLog entry for 0.19.0
2022-03-07 12:55:44 +01:00
Emmanuel Gil Peyrot
184026ed4d
xmpp-parsers: Add new XEPs in DOAP
2022-03-07 12:55:20 +01:00