pyo3-utils¶
Unreleased¶
0.4.0¶
BREAKING¶
-
#265 - feat(pytauri): add
WebviewWindowBuilder
bindings.The
#[default]
attribute incrate::from_py_dict::derive_from_py_dict!
has been renamed to#[pyo3(default)]
: -
#259 - feat(pytauri): more
WebviewWindow
andAppHandle
bindings.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
WebviewWindowBuilder
bindings.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 | bytes
ordict
as input fortauri::Config
.- Added features
unstable-from-py-dict
- Added new features
unstable-serde
for 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
pyo3
to0.25
.
0.2.0¶
Added¶
- #141 - chore: bump
pyo3
to0.24.1
.
0.1.0¶
Docs¶
- #57 - add documentation to
mod py_match
indicating it should only be used forstate-machine-like
enum
, not forUnion-like
enum
.
Internal¶
- #79 - refactor: use
rust v1.82
featureOmitting empty types in pattern matching
in place ofResult<T, Infallible>::unwrap
.