On Sun, Oct 10, 2021 at 02:59:06PM +0000, Klemens Nanni wrote: > Crates can come from various sources, we only support the registry which > is fine for most ports, but especially during development/porting it is > required to overwrite crates with patched versions. > > Such crates often live as forks on GitHub and can be downloaded as usual > so let's support this. > > I need this for an upcoming port (which is still in early development) > using feature branches of certain crates -- I followed the same process > in order to add OpenBSD support. > > Neither existing nor new users of the cargo module have to do anything; > Cargo.lock `source' lines are parsed as before except that more types > are recognised. > > Thanks to sthen for pointing at www/nginx wrt. MASTER_SITES handling. > > Feedback? OK?
That was the wrong/incomplete diff, but I already found a quirk... Correct diff soon.
