xso: Implement FromXmlText and AsXmlText for NodePart,DomainPart,ResourcePart
This commit is contained in:
parent
3c77ee0cc7
commit
8c033a3fa0
3 changed files with 11 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ Version 0.11.1, release 2024-07-23:
|
||||||
- Improve perfs of comparison operators (#123)
|
- Improve perfs of comparison operators (#123)
|
||||||
- Add more test cases
|
- Add more test cases
|
||||||
- Fix clippy lints, cargo doc, and other warnings
|
- Fix clippy lints, cargo doc, and other warnings
|
||||||
|
- xso::FromXmlText and xso::AsXmlText are now implemented for NodePart,
|
||||||
|
DomainPart, and ResourcePart (!485)
|
||||||
|
|
||||||
|
|
||||||
Version 0.11.0, release 2024-07-23 [YANKED]
|
Version 0.11.0, release 2024-07-23 [YANKED]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ Version NEXT:
|
||||||
- Support for collecting all unknown children in a single field as
|
- Support for collecting all unknown children in a single field as
|
||||||
collection of `minidom::Element`.
|
collection of `minidom::Element`.
|
||||||
- Support for "transparent" structs (newtype-like patterns for XSO).
|
- Support for "transparent" structs (newtype-like patterns for XSO).
|
||||||
|
- FromXmlText and AsXmlText are now implemented for jid::NodePart,
|
||||||
|
jid::DomainPart, and jid::ResourcePart (!485)
|
||||||
|
|
||||||
Version 0.1.2:
|
Version 0.1.2:
|
||||||
2024-07-26 Jonas Schäfer <jonas@zombofant.net>
|
2024-07-26 Jonas Schäfer <jonas@zombofant.net>
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,12 @@ convert_via_fromstr_and_display! {
|
||||||
jid::FullJid,
|
jid::FullJid,
|
||||||
#[cfg(feature = "jid")]
|
#[cfg(feature = "jid")]
|
||||||
jid::BareJid,
|
jid::BareJid,
|
||||||
|
#[cfg(feature = "jid")]
|
||||||
|
jid::NodePart,
|
||||||
|
#[cfg(feature = "jid")]
|
||||||
|
jid::DomainPart,
|
||||||
|
#[cfg(feature = "jid")]
|
||||||
|
jid::ResourcePart,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Represent a way to encode/decode text data into a Rust type.
|
/// Represent a way to encode/decode text data into a Rust type.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue