chore(deps): update rust crate zbus to v5 (v2) #2271
Draft
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:
4
->5
Release Notes
dbus2/zbus (zbus)
v5.2.0
: 🔖 zbus 5.2.0Compare Source
binary if the users isn't directly using proxy APIs. On busd, this reduces the binary size by
200KB.
the spec itself), so we don't need to provide the docs in the introspection data at runtime.
interface
now allows disabling docs in introspection. Introspection strings are part of thebinary and can have an impact on the binary size. This change allows to disable the addition of
docs in the introspection for cases where there interface is well-known/well-documented. For
example, combined with the following change of using this in the
zbus::fdo
interfaces, thiswill allow
busd
binary to shed 26 KB.interface
macro. Add values already known to theintrospection XML at compile time. This also removes about 500 bytes from
busd
binary size.gvariant
feature flag tozbus_macros
. It's just a proxy feature for zvariant andonly needed to fix the build in the root workspace when building with
--features gvariant
.#1125.
self
in an instrumented method.sink
feature offutures-util
.v5.1.1
: 🔖 zbus 5.1.1Compare Source
async-process
dependency toasync-io
feature, instead of the target OS. This fixestokio
users (a big majority of our users) needlessly depending on it along with a bunch of itsdependencies.
lot of noise in the logs.
v5.1.0
: 🔖 zbus 5.1.0Compare Source
rust-version
to1.80
. #1107unixexec
transport.Command
stdio socket type. This socket communicates with a spawned child process viaits standard input and output streams.
winnow
.v5.0.1
: 🔖 zbus 5.0.1Compare Source
zvariant_utils
dep. We don't always releasezvariant_utils
together with othercrates, so unlike the macros crates, the versions don't need to be tied together. This will also
allow us to bring
zvariant_utils
improvements to users without having to release all dependentpackages as well.
v5.0.0
: 🔖 zbus 5.0.0Compare Source
encoding and decoding.
proxy
macro respects visibility. This includes all types generated byproxy
. Unfortunatelythis means that the existing code will have to set the visiblity explicitly to
pub
if theywere relying on the generated proxy to be public.
DBUS_COOKIE_SHA1
auth mechanism. #727sha1
crate as a dependency, which can be problematic for some users. #543EXTERNAL
is not an option, you might as well just useANONYMOUS
.authentication mechanisms with one of them being no-authentication, this really makes sense
since we can just autodetect what authentication method to use for a specific socket type on a
specific platform. This also simplifies the handshake logic and will allow us to pipeline the
whole client-side handshake in the future, when we can drop the xdg-dbus-proxy workarounds. #781
same type of arguments.
fdo
API.interface
now generates a trait, Signals, that provides the same signalmethods as user specifies but w/o the
SignalEmitter
argument (#871). The macro also generates2 implementations of this trait for:
method.
SignalContext::emit
. Add a new method to SignalContext that allows emitting a signal fora given interface and singal name.
mechanism. We'll use this in a following commit to avoid an allocation.
should be used with it. The implementation can choose this based on the socket type and the
target platform.
be private.
SignalContext
toSignalEmitter
. Since now this emits signals, this is a moreappropriate name. We keep a deprecated
SignalContext
type alias as well as thesignal_context
attribute ofinterface
for not completely breaking the existing code.AuthMechanism
in the root asdeprecated.
the conversion to NonZeroU32 panics. #946
the
Proxy
API.p2p
feature is enabled.serde_bytes
Cargo feature. This is just a proxy feature forzvariant
'sserde_bytes
feature. #1052
blocking-api
tozbus
&zbus_macros
. When enabled, thezbus::blocking
module is available. When disabled,proxy
macro ignores the value of
gen_blocking
attribute and doesn't generate blocking proxy. Thisfeature is enabled by default.
camino
feature as proxy for zvariant feature of the same name.sha1
crate.futures-sink
.rand
now an optional dependency. It is only enabled ifp2p
feature is enabled. This meansthat
rand
dependency is dropped for typical users.blocking
module docs.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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.