A type-safe Rust XMPP library.
Find a file
Jonas Schäfer 14a1d66bf8 xso: create library for streamed XML parsing
This library provides the traits to parse structs from XML and
serialise them into XML without having to buffer the document object
model in memory.

The only implementations it provides are for minidom, basically
providing a lower-level interface to `minidom::Element::from_reader` and
`minidom::Element::to_writer`.

This is the first stepping stone into a world where `xmpp_parsers` can
parse the structs directly from XML.
2024-06-18 16:54:11 +02:00
.forgejo/workflows
jid Add more specific into_* conversion functions to specific JID subtypes 2024-05-14 17:53:53 +02:00
minidom xso: create library for streamed XML parsing 2024-06-18 16:54:11 +02:00
parsers Add alternate_address to StanzaError 2024-06-18 11:11:05 +00:00
sasl Fix typos across the codebase (thanks codespell!) 2024-05-14 05:46:02 +00:00
tokio-xmpp Fix build with nightly rust 2024-06-17 19:49:26 +00:00
xmpp Ignore missing disco#info feature in disco#info responses 2024-06-16 10:52:51 +02:00
xso xso: create library for streamed XML parsing 2024-06-18 16:54:11 +02:00
.gitea
.github
.gitignore
.gitlab-ci.yml tokio-xmpp: allow docs build with --all-features 2024-04-23 19:22:04 +02:00
Cargo.toml xso: create library for streamed XML parsing 2024-06-18 16:54:11 +02:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md

xmpp-rs

What's this?

A very much WIP set of rust XMPP library with the goals of being type-safe and well-tested.

  • xmpp-rs provides a high-level API for the protocol. You shouldn't need to know about the protocol to use it.
  • tokio-xmpp is a lower-level library that handles the XMPP stream(s).
  • xmpp-parsers parses XML into Rust and back.
  • minidom is a DOM library quite specific for XMPP
  • jid is a Jid parsing library.

Contact

There is an XMPP MUC for the discussion of this library, feel free to join! :)

chat@xmpp.rs

Community

A Code of Conduct is available as CODE_OF_CONDUCT.md in the repository for the well-being of the community. Please refer to it in case of a possible conflict in any of the xmpp-rs venues (channel, forge, etc.).

License

Mozilla Public License 2 (MPL2). See the LICENSE file.

Building

Dependencies should be provided by crates if you use the default features. If you use tokio-xmpp's tls-native feature you will need an ssl library (openssl, libressl, etc.).

cargo build

The various features available should be explained in the crates themselves.

Contributing

Thank you for your interest in the project!

Contributing rules are available as CONTRIBUTING.md in the repository.