Open Gankra opened 1 year ago
I made Artifact::name optional to future-proof against this -- it being None will signal the artifact is purely informative and has no physical files.
Note that oranda has a builtin feature for this, reducing the pressure to add this for the cargo-dist+oranda tag-team. It's called "package_managers" and is basically a string => string
map it will forward verbatim.
Probably all the work for this will go into oranda at this point.
It would be nice to have:
--installer=cargo
(-install?)--installer=cargo-binstall
Which produce installer hints without any need for any physical artifact. This requires some way to tell the reader of the dist-manifest that no such artifact exists, only the hint/description.