Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information