opener: cherry-pick fix to avoid vendored dbus
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 24 Jun 2024 12:37:53 +0000 (14:37 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 27 Jun 2024 12:30:53 +0000 (14:30 +0200)
commit26509deba22f8ae3030b191f5139d23d0df27d5b
tree0b8edd8139f13b6d0adb0f8fcb961f03ee3f3523
parentd4fe58fdb54126072658421811cf525cdfcdd3e5
opener: cherry-pick fix to avoid vendored dbus

this is part of opener 0.7.1 as b6ead409a9a60f7a2705cf5f2be167719959440e

Forwarded: https://github.com/Seeker14491/opener/pull/31

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Workaround for rust-lang/cargo#10788
As described in Cargo Issue 10788, until Rust 1.71 there were
cases where the dependency/feature syntax would not work correctly
when used in combination with the dep:dependency syntax. Workarounds
include adding an explicit feature

dependency = ["dep:dependency"]

but in many (most?) cases it is enough to only enable the dependency feature
if the dependency is already enabled, via the dependency?/feature
syntax.

For context, here are some workarounds employed by others:
- mstange/samply@89456d4
- alexrudy/tonic@f386954
- jwodder/confab@6f0e2fc

Gbp-Pq: Topic prune
Gbp-Pq: Name opener-cherry-pick-fix-to-avoid-vendored-dbus.patch
vendor/opener-0.7.0/Cargo.toml