xso: implement TextCodec<_> on all T: base64::engine::Engine

The `xso::text::Base64` struct remains as a shorthand (because frankly,
I find the const names in the base64 crate very unwieldly), but you can
now use any of the base64 engines as codec.
This commit is contained in:
Jonas Schäfer 2025-01-25 12:22:05 +01:00
commit 69787569c9
2 changed files with 53 additions and 8 deletions

View file

@ -27,6 +27,8 @@ Version NEXT:
jid::DomainPart, and jid::ResourcePart (!485)
- Support for optional child elements, the presence of which are
translated into a boolean (`#[xml(flag)]`).
- Generic TextCodec implementation for all base64 engines provided by
the base64 crate (if the `base64` feature is enabled).
Version 0.1.2:
2024-07-26 Jonas Schäfer <jonas@zombofant.net>