Add serde feature for xmpp crate

This commit is contained in:
xmppftw 2024-06-05 11:13:29 +02:00
parent aee4c79110
commit 034976748a
6 changed files with 9 additions and 0 deletions

View file

@ -30,6 +30,8 @@ minidom = { version = "0.15", path = "../minidom" }
component = []
# Disable validation of unknown attributes.
disable-validation = []
# Enable serde support in jid crate
serde = [ "jid/serde" ]
[package.metadata.docs.rs]
rustdoc-args = [ "--sort-modules-by-appearance", "-Zunstable-options" ]

View file

@ -2,6 +2,7 @@ Version xxx:
0000-00-00 Authors
* Improvements:
- Re-export the jid module entirely.
- Add serde feature, passed to jid crate
Version 0.20.0:
2023-08-17 Maxime “pep” Buquet <pep@bouah.net>, Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

View file

@ -48,3 +48,5 @@ starttls-native = ["starttls", "tls-native"]
starttls-rust = ["starttls", "tls-rust"]
insecure-tcp = []
syntax-highlighting = ["syntect"]
# Enable serde support in jid crate
serde = [ "xmpp-parsers/serde" ]

View file

@ -6,6 +6,7 @@ Version 3.5.0:
previous release anyway.
- Various fixes that were guarded under the tls-rust feature. All
updates from dependencies.
- Add serde feature, passed to jid crate
Version 3.4.0:
2023-08-17 Maxime “pep” Buquet <pep@bouah.net>

View file

@ -36,3 +36,5 @@ starttls-native = ["tokio-xmpp/starttls", "tokio-xmpp/tls-native", "reqwest/nati
starttls-rust = ["tokio-xmpp/starttls", "tokio-xmpp/tls-rust", "reqwest/rustls-tls"]
avatars = []
syntax-highlighting = [ "tokio-xmpp/syntax-highlighting" ]
# Enable serde support in jid crate
serde = [ "tokio-xmpp/serde" ]

View file

@ -10,6 +10,7 @@ Version 0.5.0:
- ClientBuilder now has a set_resource method for manual resource management (#72)
- Update dependencies
- Re-export jid structs, minidom::Element, and parsers module.
- Add serde feature, passed to jid crate
Version 0.4.0:
2023-05-18 [ Maxime “pep” Buquet <pep@bouah.net>, Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> ]