Does any rust dev or package maintainer has found a viable approach to downstream patch management? E.g. Arch, Fedora, Alpine and probably most others use diff patches along with the "package recipe", as this allows maintaining everything in one place.

E.g. rust package foo depending on crate bar: If there is a patch for foo, diffs work fine. But what if I need to patch bar? Note that patching in a `[patch.crates-io]` entry is manageable, having that point to a repo is not.

#rustlang #distro

@maribu patch-based workflows is something I know very little about and I'd guess that's most people - do you happen to have any good links or resources you point someone to when explaining the patch-based workflows, especially for distro maintainers? If you don't have something ready to suggest, no worries. I can go looking.