Can I add registry dependency of a package?

I know I can add registry (not only General) by Pkg.Registry.add but can I add the dependency on the registry to a package or a project (like Project.toml ) ?


Then, to distribute a package that depends on a certain registry’s package, what should I do?

Tell your users to first add the necessary registries.