xmpp-rs/parsers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
..
examples parsers: Replace std stuff with alloc/core stuff 2024-12-19 20:45:38 +01:00
src minidom: breaking: Allow getting Element attributes by namespace 2025-10-22 18:51:39 +02:00
Cargo.toml Bump xso version to 0.2.0 2025-09-17 20:03:18 +02:00
ChangeLog parsers/stanza_error: fix tests behind 'component' feature 2025-10-21 23:40:00 +02:00
doap.xml parsers: Add support for XEP-0335: JSON Containers 2025-04-07 18:35:43 +00: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.