tokio-xmpp: add option to disable xmpp_parsers validation

This commit is contained in:
famfo 2026-02-16 21:38:55 +01:00 committed by pep
commit 628c2113d0
2 changed files with 3 additions and 0 deletions

View file

@ -90,5 +90,7 @@ serde = [ "xmpp-parsers/serde" ]
dns = [ "hickory-resolver", "idna" ]
component = ["xmpp-parsers/component", "insecure-tcp"]
disable-validation = ["xmpp-parsers/disable-validation"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(xmpprs_doc_build)'] }

View file

@ -3,6 +3,7 @@ Version NEXT:
* Added:
- Expose `client_auth` method to allow manual stream setups for advanced
use cases.
- Add feature flag to disable validation in xmpp_parsers
* Fixed:
- Ignore missing "version" stream attribute for 0114 components.
- Gate `AsRawFd` behind `ktls` feature to make Windows build work again.