π zbus_macros 4.0.0
·
2012 commits
to main
since this release
dbus_proxy- π rename to
proxy(with dbus_proxy still available as deprecated) that useszbusattributes. - ποΈ Support
objectattr being a path. under a different module, rather than just being an
identifier. Fixes #444. - π₯
assume_defaultsattribute now defaults to false. - π₯ Drop Deref impl for generated proxy types. Fixes #475.
- β¨ Generate Message getter for generated signal structs.
- β¨ Add as_mut method for generated Proxy types.
- π rename to
dbus_interface- π renamed to
interface(with dbus_interface still available as deprecated) that useszbus
attributes. - ποΈ
headerarg method deprecated for newmessagearg. - β¨ Support for
emits_changed_signalflag in properties. This was already supported in the proxy
macro. - π Handle
cfgattributes in methods. Fixes #327.
- π renamed to
- π₯ Rename
dbus_errorattribute ofDBusErrortozbus. - π½οΈ Adapt to zbus and zvariant 4.0 changes.
- β¬οΈ Bump zvariant_utils to 1.1.0.
- β¨ Use SerializeTuple in proxy calls. This allows using types that only implement DynamicType in
macro-generated proxy functions. - β¬οΈ Bump MSRV to 1.75.
- π§ Switch to Rust 2021. This doesn't affect our users but gives us some features.
You can use these commands in the specified order to update names in your project:
find . -name '*.rs' -exec sed -i 's/dbus_proxy(property/zbus(property/g' \{\} \;
find . -name '*.rs' -exec sed -i 's/dbus_proxy(signal/zbus(signal/g' \{\} \;
find . -name '*.rs' -exec sed -i 's/dbus_proxy/proxy/g' \{\} \;
find . -name '*.rs' -exec sed -i 's/dbus_interface(property/zbus(property/g' \{\} \;
find . -name '*.rs' -exec sed -i 's/dbus_interface(signal/zbus(signal/g' \{\} \;
find . -name '*.rs' -exec sed -i 's/dbus_interface/interface/g' \{\} \;