xso: deprecate try_from_element

It is not necessary anymore, because we switched from `IntoXml` to
`AsXml`, allowing `transform` to work with a reference instead of
consuming its input.

Before that, `try_from_element` was the only way to fallibly attempt to
parse something from `Element` without having to clone the entire DOM.
This commit is contained in:
Jonas Schäfer 2025-04-27 12:21:42 +02:00
commit c4de8725fc
5 changed files with 50 additions and 66 deletions

View file

@ -61,6 +61,7 @@ Version NEXT:
- Update rxml dependency to 0.13.
- xso now rejects conflicting `#[xml(attribute)]` (and `#[xml(lang)]`)
specifications at compile time.
- Deprecate `try_from_element` in favour of `transform`.
Version 0.1.2:
2024-07-26 Jonas Schäfer <jonas@zombofant.net>