cerjones / dg2d

Boost Software License 1.0
19 stars 4 forks source link

Reorganize code tree for DUB registry. #5

Closed p0nce closed 3 years ago

p0nce commented 3 years ago

This is a PR following the Discord discussion where people wanted to use dg2d as a dub dependency. Before putting it on the dub registry it would need a bit of reorg, if you are okay with it.


What I would really recommend now is to have a package.d and only put there stuff that will be in the public API (in other words, boundaries). It can help long-term to separate stuff that is private from stuff that is in the public API (ideally: few things are public).

eg: dg2d.blitex would not be imported by package.d