Is there a way to release an app in source code form to code.dlang.org and also allow it to be used as a library?
The app I want to release comes with a tiny supporting stub library that is optional and provided as reference.
I would like users to install the package with dub, and use it normally, but then also just import the support library without any major issues.
The problem I'm facing is that when used as a library, dub tries to compile every file in the package,
which already contain a main() which will then conflict with the user's code.
Is this even good practice? Would it be better to release as 2 separate packages?