fix(deps): update rust crate zbus to 3.15 - autoclosed #182
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.10
->3.15
Release Notes
dbus2/zbus (zbus)
v3.15.2
: 🔖 zbus 3.15.2Compare Source
To go with zbus_macros 3.15.2. Other changes:
v3.15.1
: 🔖 zbus 3.15.1Compare Source
v3.15.0
: 🔖 zbus 3.15.0Compare Source
🐛 Add missing
nix
feature.🏷️ Add ResponseDispatchNotifier type. A wrapper interface method response type that notifies the
caller of the response being sent off.
🚸 Specify service and object path for Monitoring & Debug.Stats proxies. These defaults to be
based on the interface name otherwise and that's not the expected bhaviour.
✏️ Fix a typo in docs.
v3.14.1
: zbus 3.14.1Compare Source
Brown paperbag release to fix a typo in the README/crate docs.
v3.14.0
: 🔖 zbus 3.14.0Compare Source
✨ Add arg0ns to match rule. arg0namespace has an overly restrictive type (InterfaceName), which
disallows valid values (e.g. those containing '-' or single-element names such as 'org'). Further
more, a MatchRule with arg0namespace previously would not match a message whose arg0 is not a
valid InterfaceName (even if it is a valid BusName). Fixes #382.
✨ Derive Debug for MatchRuleBuilder.
✨ Implement Clone for MessageBuilder.
✨ Add a
from_bytes
constructor forMessage
. Closes #326✨ Allow unicast signals through the dbus_interface. Fixes #374.
✨ Provide various string conversions from Guid.
✨ impl From for Guid.
✨ Implement Type, Serialize & Deserialize for
Guid
. So that this can be returned fromdbus_interface
anddbus_proxy
methods.✨ Owned getters for ConnectionCredentials fields. For non-Copy fields (i-e those requiring
allocation).
✨ impl
From<MessageHeader> for MessageBuilder
.✨ Add
MessageStream::{max_queued,set_max_queued}
. Add getter and setter for message queuecapacity. #350.
🚑️ Fix how MatchRule handles arg0namespace.
arg0.starts_with(arg0namespace)
is not enough. Forexample, namespace 'o' should not match 'org.foo'.
🚑️ Drop signature & fds from fields. when converting a MessageHeader into a MessageBuilder
since these fields are dependent on the body and that's specified later.
🚑️ Handle 0 bytes received from socket. Seems the assumption that we can't ever get 0 bytes is
wrong.
🐛 Don't choke on empty match rule arg values.
🩹 zb: Drop unneeded use of
all
incfg
attributes. New clippy warns about this.🩹 fdo::DBus::get_id returns
Guid
instead of rawString
. Theoretically, this is a breakingchange, but this is also a fix since the method should have been returning the more specific
type. To make things easier for users, we provide a more conversions from
Guid
toString
and&str
.🩹 Manual impl for
Deserialize
forGuid
. So we can verify it's a valid UUID string.⚡️ Box a large future. Fixes new clippy warning about large futures. Fixes #330.
⬆️ Bump our MSRV. More and more dependencies are requiring Rust 1.64.0, so let's bump our MSRV to match.
⬆️ Require zbus_names 2.6.0.
⬆️ Require zvariant 3.15.0.
⬆️ Update enumflags2.
📝 Fix link to
DBusError
derive.📝 Warn about example code requiring a session bus in README/crate docs. Fixes #389.
📝 Update forgotten links to old book location.
📝 Clarify MatchRule::arg0namespace docs.
📝 Fix link to
DBusError
derive.📝 Add IBus example for
ConnectionBuilder::address
. Fixes #361.🗑️ Deprecate
MatchRule(Builder)::arg0namespace
in favour of arg0ns.🧪 Test empty args in match rules. Turns out we can't parse match rules with empty argument values.
➕ Add optional dep on
blocking
. Ifasync-io
is enbled, we now depend onblocking
. This justturns it into a direct dependency.
🎨 Code comments should also adhere to 100 character limit.
🎨 Minor formatting change.
v3.13.1
: zbus 3.13.1Compare Source
v3.13.0
: zbus 3.13.0Compare Source
Connection::peer_credentials
method. Instead of adding multiple individual methods for eachcredential type, let's add a single method that returns all peer credentials.
ConnectionCredentials
struct. This will mainly be useful for busimplementations to be able to create this struct for themselves (e.g on a
DBus.GetConnectionCredentials
D-Bus call for the bus itself).async-process
on MacOS target.process
feature oftokio
crate.Connection::peer_sid
in favor ofConnection::peer_credentials
.fdo::ConnectionCredentials
fields. If we ever need to add more fields to the struct,we can't do it without breaking the API. So let's deprecate the fields and have everyone use the
new getters instead.
cfg
for Windows.v3.12.0
: zbus 3.12.0.Compare Source
ObjectServer
should dispatch calls without destination since p2p connections typically don't have destinations.nix
that we use.ConnectionBuilder
asmust_use
. Instead of every builder method of it individually.xdg-home
.lazy_static
.dirs
dep.nix
dep for non-unix (i-e Windows).v3.11.1
: zbus 3.11.1Compare Source
Fix server example in the docs and README.
v3.11.0
: zbus 3.11.0Compare Source
executor is disabled and interface is added to the builder.
Error:MissingParameter
variant.Clone
forInterfaceRef
.SignalStream::name
getter.SignalStream
's inner lifetime need to be tied to that of proxy's inner lifetime, not the proxyitself. In case of macros, we can declare it as '`static'.
io
feature offutures-util
ifasync-io
is enabled.async-fs
.nix
to 0.26.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.