Jonas Schäfer
c723897326
tokio_xmpp: introduce xmlstream module
...
This module provides XSO-based parsing, proper typestates and will
soon replace the proto module.
2024-08-29 16:42:57 +02:00
schnell
274baaef9a
add support for local trust store for rustls
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-08-22 15:38:39 +02:00
Jonas Schäfer
f77c21f0fc
Update to rxml 0.12.0
2024-08-12 16:16:32 +02:00
xmppftw
df106dfbaf
Relative dependencies
2024-08-12 10:39:09 +00:00
xmppftw
97698b4d1e
Add dns
feature for DNS stuff (not just in starttls)
2024-08-10 16:48:47 +02:00
1a452523bd
tokio-xmpp: Bump version to 4.0
...
Build / lint (push) Has been cancelled
Build / test-stable (push) Has been cancelled
Build / test-nightly (push) Has been cancelled
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-28 01:00:01 +02:00
5b1706a311
tokio-xmpp: Update dependencies
...
Update tokio_rustls, idna, webpki_roots.
https://github.com/rustls/rustls/releases/tag/v%2F0.22.0
> ConfigBuilder::with_safe_defaults - calls to this can simply be deleted since safe defaults are now implicit.
> OwnedTrustAnchor - use rustls_pki_types::TrustAnchor instead, and replace from_subject_spki_name_constraints with direct assignment to the struct fields.
`RootCertStore::add_trust_anchors` seems to be removed too.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-25 20:51:20 +02:00
Emmanuel Gil Peyrot
c0f1aa620e
xmpp-parsers: Bump version to 0.21.0
2024-07-25 18:42:18 +02:00
11d40bac94
Unify version string formats
...
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#caret-requirements
"^1.2.3" is strictly equivalent to "1.2.3"
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-25 14:41:04 +00:00
Jonas Schäfer
25adde99da
Bump rxml to 0.11.1
2024-07-24 16:05:05 +02:00
f35bbcb36d
minidom: Bump version to 0.16
...
Build / lint (push) Has been cancelled
Build / test-stable (push) Has been cancelled
Build / test-nightly (push) Has been cancelled
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-23 19:02:46 +02:00
86c13611ba
Remove unused paths in multiple Cargo.toml
...
Paths are already patched in the workspace's [patch.crates-io] block.
Not sure why this was added in the first place.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-23 16:28:38 +00:00
Jonas Schäfer
079379a178
Fix build with nightly rust
...
Nightly rust complains about `cfg(..)` tests against undeclared
features and other unknown cfgs. They need to be explicitly declared
now.
The nightly/stable features don't exist, so I removed them and
substitutes the currently correct number for the single test where they
were used.
The `xmpprs_doc_build` cfg flag is now declared as expectable.
2024-06-17 19:49:26 +00:00
Jonas Schäfer
84de007640
Update rxml to 0.11.0
2024-06-15 12:58:39 +02:00
Jonas Schäfer
2097b9685f
Update rxml to 0.10.1
...
rxml 0.10.0 (and earlier) had a bug which caused it to reject valid XML
documents if an UTF-8 sequence straddled the token size boundary (8192
bytes by default) of a text event.
2024-06-08 07:29:57 +02:00
xmppftw
034976748a
Add serde feature for xmpp crate
2024-06-05 11:20:33 +02:00
Emmanuel Gil Peyrot
f725994fe0
Bump all dependencies but rustls and webpki-roots
...
The latter have changed their API a bit, while everything else is still
compatible.
2024-05-04 12:42:53 +02:00
Jonas Schäfer
fb63ac8e50
Update rxml to 0.10.0
...
See release notes [1] for details.
[1]: https://codeberg.org/jssfr/rxml/releases/tag/v0.10.0
2024-03-16 17:39:55 +01:00
moparisthebest
019450ff4b
Add disabled-by-default insecure-tcp feature to tokio-xmpp for use by component connections
2024-01-03 19:34:03 -05:00
moparisthebest
733d005f51
DNS/TLS deps are now optional, component now also uses ServerConnector
2024-01-01 02:09:41 -05:00
xmppftw
ac4ffd2268
Use relative cargo paths when using local copy
2023-12-18 13:06:22 +01:00
4089891f6c
Update edition to 2021
...
- Remove TryFrom/Into and FromIterator imports
- Prevent impl_validator_using_provider macro in sasl crate from
constructing trait object
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-15 19:40:09 +00:00
Emmanuel Gil Peyrot
372234b912
tokio-xmpp: Remove workaround for Debian oldoldstable
...
hickory-resolver’s MSRV is 1.67, those super old toolchain versions
wouldn’t build a recent version of tokio-xmpp anyway.
This effectively reverts 52a2d962ee
.
2023-12-04 15:34:26 +01:00
Emmanuel Gil Peyrot
2d11ada30f
tokio-xmpp, xmpp: Remove regex support from env_logger
...
This bloats our binaries by 1.1 MiB after stripping, for very minimal
additional features. People who need that feature can enable it
themselves.
2023-10-25 18:11:33 +00:00
115edf6f25
tokio-xmpp: Update hickory-dns dep (previously trust-dns)
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-25 11:37:04 +00:00
adeb4154de
tokio-xmpp: bump to 3.5
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-24 20:35:03 +02:00
68a8c043a2
tokio-xmpp: bump to 3.4.0
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
a13f05037c
tokio-xmpp: update dependencies (jid, webpki-roots)
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
Emmanuel Gil Peyrot
85bdcdb131
tokio-xmpp: Bump idna dependency
2023-06-21 12:05:33 +00:00
Emmanuel Gil Peyrot
17335136fe
tokio-xmpp: Add syntax highlighting to debug logs
...
This uses syntect, and has been checked to have zero overhead when it is
disabled.
2023-06-19 19:52:38 +02:00
xmppftw
3ac741d666
RUST_LOG=debug can now be used in tokio-xmpp examples to see XMPP network traffic
2023-06-05 15:02:35 +00:00
943a0afe9d
tokio-xmpp: Bump version to 3.3.0
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-18 17:05:20 +02:00
Emmanuel Gil Peyrot
58f6d5494a
Bump tokio-xmpp and xmpp dependencies
...
It still builds and tests pass without any other change.
2023-04-03 12:13:37 +02:00
Emmanuel Gil Peyrot
eb628704c0
minidom: Bump rxml
...
This was causing a memory corruption on closing tags for elements with a
name longer than 24 bytes. I haven’t investigated why smartstring < 1
had this bug, but it got fixed in 1.0.0 so let’s use that.
2023-04-03 11:28:41 +02:00
826914da54
parsers, tokio-xmpp: remove unnecessary jid feature alias
...
It can be done directly using `jid = { version = "*", features =
["stringprep"] }` even though jid is imported from another lib.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-15 21:44:27 +01:00
Emmanuel Gil Peyrot
ebd7df2dcf
tokio-xmpp: Bump all dependencies
...
No code change was needed this time, it seems.
2022-09-20 21:17:26 +02:00
70cba2279e
tokio-xmpp: Automatically add id on send if not present
...
Based on Yuka's work in !149 , but moved into tokio-xmpp instead of
xmpp-rs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-16 18:06:51 +00:00
Astro
1613a1c667
tokio-xmpp: Release 3.2.0
2022-07-13 20:50:10 +02:00
Jonas Schäfer
ea366c2334
Rip out quick-xml
2022-04-24 13:27:48 +02:00
Astro
d4a5a8247b
minidom, tokio-xmpp: switch xml parsing to rxml
2022-04-19 20:42:30 +02:00
Emmanuel Gil Peyrot
84622607ed
tokio-xmpp: Bump xmpp-parsers
2022-03-07 13:14:47 +01:00
Emmanuel Gil Peyrot
4a8bda1287
tokio-xmpp: Bump dependencies
...
This removes the pest, semver-parser and ucd-trie transitive
dependencies.
2021-12-01 19:13:31 +00:00
Astro
4766a01d01
tokio-xmpp: release 3.1.0
2021-11-23 19:06:09 +01:00
Paul Fariello
8d3c7a3bd6
Add TLS server roots from webpki
2021-02-18 02:38:32 +00:00
Paul Fariello
ae52f6444d
Add support for both rustls and tlsnative
2021-02-18 02:38:32 +00:00
Astro
48ce51b4ad
tokio-xmpp: release 3.0.0
2021-01-13 17:28:03 +01:00
Astro
acdc48072d
tokio-xmpp: extend authors in Cargo.toml
2021-01-13 17:22:31 +01:00
Emmanuel Gil Peyrot
1e8d3c39bf
xmpp-parsers: Release version 0.18.0
2021-01-13 00:39:16 +01:00
Emmanuel Gil Peyrot
521bf6e7d7
tokio-xmpp: Bump sasl to 0.5
2021-01-12 19:26:21 +01:00
Emmanuel Gil Peyrot
dea95d06e1
tokio-xmpp: Bump trust-dns to 0.20
2020-12-30 03:18:17 +01:00