xmpp-rs/parsers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Emmanuel Gil Peyrot 2a2f532c80 jid: Validate domains against idna
The idna crate validates against UTS 46, which supports domains using
either IDNA2003 or IDNA2008.  This allows us to support both old and
new internationalized domain names.

This dependency isn’t a new one in the tree, as hickory-proto, url and
tokio-xmpp all were already depending on it.

There are a bunch of other checks that have to be performed, this is
inspired by slixmpp’s JID implementation.
2025-02-12 18:21:20 +01:00
..
examples parsers: Replace std stuff with alloc/core stuff 2024-12-19 20:45:38 +01:00
src jid: Validate domains against idna 2025-02-12 18:21:20 +01:00
Cargo.toml xmpp_parsers: --features disable-validation 2024-12-20 14:50:14 +01:00
ChangeLog xmpp-parsers: Reduce component handshake allocations 2025-02-10 17:06:15 +00:00
doap.xml xmpp-parsers: Implement XEP-0377: Spam Reporting 2024-12-21 17:44:55 +01:00
LICENSE Rename the xmpp-parsers directory to parsers 2021-10-11 08:24:16 +02:00
README.md xmpp-parsers: Add a README 2022-03-07 12:59:43 +01:00

xmpp-parsers

Whats this?

A crate which provides parsers and serialisers for most XMPP elements, to avoid having to deal with XML manually. It validates its inputs by default, and aims at providing useful errors when a particular XML element was invalid.

What license is it under?

MPL-2.0 or later, see the LICENSE file.