No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
pep 77acd92c62 tokio-xmpp: Ignore missing "version" stream attribute for 0114 components
From the prosody@ room:
- 0114 doesn't mention the removal of @version on the stream, and it
  refers to 3920 which has it as a MUST.
- 0114 streams have historically never used @version="1.0"
- @version="1.0" implies stream features which 0114 doesn't have.
- There was a proposal years ago to fix this but a new XEP was preferred
  (0225).

The change here uses a compile-time check, and may have to change when
support for 0225 arrives if it's still gated behind the "component"
feature (even though it may be weird to have both under the same
feature). We'll see when we get there.

Signed-off-by: pep <pep@bouah.net>
2025-11-30 16:21:28 +01:00
.forgejo/workflows CI: set CARGO_TERM_COLOR: always 2025-10-21 23:40:00 +02:00
jid jid: Bump to 0.12.1 2025-11-02 01:28:30 +01:00
minidom Fix all typos using the typos tool 2025-11-22 21:48:21 +00:00
parsers Fix all typos using the typos tool 2025-11-22 21:48:21 +00:00
sasl Fix docs build with current nightly 2025-10-08 13:03:39 +02:00
tokio-xmpp tokio-xmpp: Ignore missing "version" stream attribute for 0114 components 2025-11-30 16:21:28 +01:00
xmpp xmpp: update to edition 2024 2025-11-13 22:41:05 +01:00
xso Fix all typos using the typos tool 2025-11-22 21:48:21 +00:00
xso-proc xso{,-proc}: clippy 2025-11-01 16:30:22 +01:00
.gitea Support Github Actions (for a migration to forgejo) 2023-12-03 14:20:51 +00:00
.github Deny warnings in github/gitea/forgejo CI and act local runner 2024-01-21 13:55:39 +01:00
.gitignore Hello world! 2019-03-21 18:43:27 +01:00
.gitlab-ci.yml Add a CI pass for typos 2025-11-22 21:48:21 +00:00
Cargo.toml xso-proc: start making derive macros for FromXml and IntoXml 2024-06-23 12:20:02 +02:00
CODE_OF_CONDUCT.md Code of Conduct 2024-01-21 21:50:31 +01:00
CONTRIBUTING.md CONTRIBUTING.md: Making a release 2025-11-07 21:48:28 +00:00
LICENSE Readd global LICENSE file 2020-02-25 22:13:34 +01:00
README.md README: Reorder sections 2025-09-16 21:30:32 +00:00
typos.toml Add a typos.toml file 2025-11-22 21:48:21 +00:00

xmpp-rs

What's this?

A set of rust XMPP libraries with the goals of being type-safe and well-tested.

  • xmpp provides a high-level API for the protocol. You shouldn't need to know about the protocol to use it. Still very much WIP.
  • 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.
  • sasl handles the SASL protocol.
  • xso and xso-proc provide the procedural macros powering xmpp-parsers.

Community

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

chat@xmpp.rs

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.).

Contributing

Thank you for your interest in the project!

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

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.