pyo3-utils¶
Unreleased¶
0.4.0¶
BREAKING¶
-
#265 - feat(pytauri): add
WebviewWindowBuilderbindings.The
#[default]attribute incrate::from_py_dict::derive_from_py_dict!has been renamed to#[pyo3(default)]: -
#259 - feat(pytauri): more
WebviewWindowandAppHandlebindings.Removed
impl IntoPyObject for from_py_dict::NotRequired<T>in favor of#[pyo3(into_py_with)]andNotRequired::{into_py_with, into_py_with_none, into_py_with_default, into_py_with_err}.
Added¶
-
#265 - feat(pytauri): add
WebviewWindowBuilderbindings.crate::from_py_dict::derive_from_py_dict!now supports optional#[cfg(...)]attribute on fields, but must be before#[pyo3(default)]: -
#262 - feat: support json
str | bytesordictas input fortauri::Config.- Added features
unstable-from-py-dict - Added new features
unstable-serdefor newmod pyo3_utils::serde
- Added features
-
#220 - feat: support registering plugin from python.
from_py_dict::derive_from_py_dict!can now accept struct with no fields:
0.3.0¶
Added¶
-
#160 - feat: added unstable mod
from_py_dict.Refer to PyO3/pyo3#5163.
-
#158 - chore: bump
pyo3to0.25.
0.2.0¶
Added¶
- #141 - chore: bump
pyo3to0.24.1.
0.1.0¶
Docs¶
- #57 - add documentation to
mod py_matchindicating it should only be used forstate-machine-likeenum, not forUnion-likeenum.
Internal¶
- #79 - refactor: use
rust v1.82featureOmitting empty types in pattern matchingin place ofResult<T, Infallible>::unwrap.