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
]
[features]
-dbus-vendored = ["dbus/vendored"]
+dbus-vendored = ["dbus?/vendored"]
default = ["dbus-vendored"]
reveal = [
"dep:url",