The DUB tool automatically downloads the dependencies of your project. This is possible because there is a database with the available projects: the DUB registry. If you have created an open source project, then you should register your project in the DUB registry. The prerequisite is that you should use GitHub (https://github.com/), Bitbucket (https://bitbucket.org/), or GitLab (https://gitlab.com/) as your public code repository. You also need to check your
dub.json file. The DUB tool generates a minimal version of this file containing default or generic values. To publish your project in the DUB registry, the
license fields are required. It is highly recommended that you assign meaningful text to the
copyright fields as well. After this preparation, you are ready to publish your project.
You can do so by going through the following steps:
Go to http://code.dlang.org/. If you do not have an account yet, then click...