pep
bd986f5e5e
minidom: Bump version to 0.18
...
Signed-off-by: pep <pep@bouah.net>
2025-10-28 13:06:51 +01:00
Link Mauve
0c253b8c4e
xmpp-parsers: Deny more warnings lib-wide
...
All warnings denied in macro tests can actually be denied in the whole
crate.
2025-10-25 18:38:45 +02:00
pep
f0d660315f
xmpp/example: .await event handling in hello_bot
...
skip-changelog.
Signed-off-by: pep <pep@bouah.net>
2025-10-24 01:50:56 +02:00
pep
15ac51829f
minidom: loosen type requirement on Element::attr{,_ns} getters
...
Signed-off-by: pep <pep@bouah.net>
2025-10-22 18:51:42 +02:00
pep
d91e99f170
minidom: re-export rxml
...
As it's now being used in Element::attr and ElementBuilder::attr
Signed-off-by: pep <pep@bouah.net>
2025-10-22 18:51:42 +02:00
Maxime “pep” Buquet
19865e5f1e
minidom: breaking: Allow getting Element attributes by namespace
...
- Move Element.attributes to `AttrMap`, slowly using rxml's features and
unrolling our own.
- Add Element::attr_ns that requires the attribute namespace.
Element:attr defaults to rxml::Namespace::none() but the interface
changes nonetheless for a &NcNameStr. Similar changes on
`ElementBuilder` methods.
- Remove iterator structs for attributes, return a ref on the AttrMap
directly as we don't need to keep attributes' internals hidden
anymore.
- Enable rxml's `macros` feature within tests to access the `xml_ncname`
macro.
Signed-off-by: pep <pep@bouah.net>
2025-10-22 18:51:39 +02:00
pep
48f67d034e
minidom: Remove 'std' feature
...
The parser being used from rxml, `rxml::RawParser`, requires std, so it
doesn't make sense.
Signed-off-by: pep <pep@bouah.net>
2025-10-21 23:40:00 +02:00
Maxime “pep” Buquet
e9bdae8808
minidom: add copyright header
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-10-21 23:40:00 +02:00
Maxime “pep” Buquet
2678ac1b97
minidom: deduplicate from_reader methods
...
skip-changelog: internal stuff
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-10-21 23:40:00 +02:00
pep
db0ce5859b
tokio-xmpp: Document TlsStream type behind 'ktls' feature
...
Signed-off-by: pep <pep@bouah.net>
2025-10-21 23:40:00 +02:00
pep
e526b49636
tokio-xmpp: Remove warning when rustls-any-backend feature isn't enabled
...
Signed-off-by: pep <pep@bouah.net>
2025-10-21 23:40:00 +02:00
pep
7d47173318
parsers/stanza_error: fix tests behind 'component' feature
...
Signed-off-by: pep <pep@bouah.net>
2025-10-21 23:40:00 +02:00
pep
061ccecb3f
parsers: get_best_body test: Add missing @xml:lang under component feature
...
Signed-off-by: pep <pep@bouah.net>
2025-10-21 23:40:00 +02:00
pep
e7845d0fbc
parsers: gate unused import
...
Signed-off-by: pep <pep@bouah.net>
2025-10-21 23:40:00 +02:00
pep
4faa151120
CI: set CARGO_TERM_COLOR: always
...
Signed-off-by: pep <pep@bouah.net>
2025-10-21 23:40:00 +02:00
lemonsh
468171517a
update changelogs
2025-10-12 22:20:29 +02:00
lemonsh
de564a53b0
use thiserror in tokio-xmpp and minidom
2025-10-12 00:31:48 +02:00
Jonas Schäfer
83635e6077
Move docs host once more
...
This new host only supports rsync-over-ssh, which means that we need to
use rsync-protocol syntax (`::` instead of `:` to separate host and
path), use a module name in front of the path (`www`) and explicitly
request ssh (`--rsh=ssh`).
skip-changelog, build infra change only.
2025-10-08 13:20:12 +02:00
Jonas Schäfer
ccdf27117d
Fix docs build with current nightly
...
skip-changelog, we don't officially support nightly.
See-Also: https://github.com/rust-lang/rfcs/pull/3631
See-Also: https://github.com/rust-lang/rust/pull/138907
2025-10-08 13:03:39 +02:00
Jonas Schäfer
3ffff2614a
Bump xso version to 0.2.0
2025-09-17 20:03:18 +02:00
Jonas Schäfer
5ab4f395e0
Bump xso_proc version to 0.2.0
...
skip-changelog, we do not keep a dedicated changelog for xso-proc.
2025-09-17 19:29:39 +02:00
Jonas Schäfer
ff9c3dc88c
Bump minidom version to 0.17.0
2025-09-17 19:15:41 +02:00
Jonas Schäfer
5b265eb302
Move to another docs host
...
skip-changelog, no user-visible change.
2025-09-17 18:54:14 +02:00
Maxime “pep” Buquet
948a1a3c16
CONTRIBUTING: Add clause against capitalism
...
Thanks again GoToSocial's stub CoC.
9b7db51436/CODE_OF_CONDUCT.md
skip-changelog.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-09-17 01:06:02 +02:00
Maxime “pep” Buquet
ccc7187e3a
CONTRIBUTING: Add clause against "AI"
...
In quotes, because AI generally means a lot more than what people use
the word for nowadays.
Copied straight from GoToSocial's stub code of conduct.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-09-17 01:06:02 +02:00
Maxime “pep” Buquet
03c7310990
xmpp: Stop proxying tokio-xmpp event in escape-hatch, add our own variants
...
This was causing issues with Clone-ing tokio-xmpp Event-s as they
include Error-s which are typically not Clone-able. Event and Stanza
aren't Clone-able either so might as well do our own stuff here.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-09-16 22:57:17 +00:00
Maxime “pep” Buquet
a635d0872e
README: Reorder sections
...
skip-changelog: readme.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-09-16 21:30:32 +00:00
Maxime “pep” Buquet
6fa9b83c59
README: Update project description
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-09-16 21:30:32 +00:00
Maxime “pep” Buquet
99f900558c
minidom: Include prefixes in serialization when using Element::from_reader_with_prefixes
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-09-16 21:56:24 +02:00
Adrien Destugues
0cf06f0caf
xmpp: Allow <confirm/> in message with empty body
...
skip-changelog: bugfix for previous not yet released change
2025-09-12 14:00:00 +02:00
Link Mauve
9d91b02dfd
Revert "xmpp-parsers: Remove optional child from sm element"
...
This reverts commit 0a1b291574 once again.
This is currently required to connect to Prosody, otherwise the parser
will choke on the extra undocumented child.
I still wonder if required (4e0cd5d96b )
would be useful to support then, as it might also be found in the wild.
2025-09-08 11:37:24 +02:00
Maxime “pep” Buquet
3e794d3f50
xmpp: extend escape-hatch feature to the receiving part
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-09-01 17:37:07 +00:00
Maxime “pep” Buquet
fbdd5f7b54
xmpp: document 'escape-hatch' feature
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-09-01 17:37:07 +00:00
Maxime “pep” Buquet
b1c80f4071
jid: use "jid" instead of "::jid" in quote support
...
This causes issues in crates using it because they need to have "jid"
listed as a direct dependency when it's not always obvious (version
mismatch etc. when something already uses jid as a dep)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-09-01 12:38:18 +00:00
PulkoMandy
2c81b6d96f
xmpp: Add XEP-0070 authentification support
2025-08-29 11:40:25 +00:00
PulkoMandy
155ad9b670
parsers: Add Confirm from XEP-0070
2025-08-29 11:40:25 +00:00
PulkoMandy
1052aaf010
parsers: fix documentation typo
2025-08-29 11:40:25 +00:00
Link Mauve
0a1b291574
xmpp-parsers: Remove optional child from sm element
...
When the required child was added and subsequently reverted, it was
noted that optional and required were never defined, and only appeared
in old XEP-0198 examples. The XEP has been fixed already[1].
This basically reverts 0f0759b207 .
[1] https://github.com/xsf/xeps/pull/1447
2025-08-29 12:48:55 +02:00
Maxime “pep” Buquet
621c5882cf
parsers: re-export xso::error::FromElementError
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-08-14 15:24:09 +02:00
Maxime “pep” Buquet
653a10b170
tokio-xmpp: impl PartialEq on event::Stanza
...
skip-changelog: Stanza hasn't been in a release yet.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-08-12 15:30:34 +02:00
Saarko
7c87d879d8
parsers: fix text field namespacing in StreamError
...
skip-changelog
2025-08-07 12:43:21 +00:00
Maxime “pep” Buquet
0ebc3ca04c
tokio_xmpp/examples: Use server arg in echo_component
...
skip-changelog: not yet released? Not so much important anyway
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-08-07 12:08:07 +00:00
Maxime “pep” Buquet
9803546795
tokio-xmpp: Re-export xso::error::FromElementError
...
skip-changelog: code requiring xso hasn't been released yet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-08-07 13:39:34 +02:00
Link Mauve
a58fb7e2f9
tokio-xmpp: Bump rustls-native-certs and webpki-roots
...
skip-changelog: This is just a dependency bump.
2025-07-28 15:20:01 +02:00
Link Mauve
e70dd957f4
tokio-xmpp: Bump hickory-resolver to 0.25
2025-07-28 14:59:11 +02:00
Link Mauve
c11075d1d4
tokio-xmpp: Bump rand to 0.9
2025-07-28 14:39:48 +02:00
Link Mauve
4f270bff7a
sasl: Bump getrandom to 0.3
...
They renamed getrandom::getrandom() to getrandom::fill().
2025-07-28 14:21:58 +02:00
Saarko
e3b167687f
tokio-xmpp: remove code duplicates for direct tls and starttls connectors
2025-07-25 18:50:44 +02:00
Saarko
c674c14597
tokio-xmpp/client: add directTLS connection method
2025-07-25 18:50:30 +02:00
Maxime “pep” Buquet
02a70edf99
Fix 'elided lifetime' warning from nightly
...
Nightly 1.90. The fix passes on stable 1.88.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-07-20 16:01:44 +02:00